Skip to content

Added in DateTime type support for TimeSeriesImputer - #4812

Merged
michaelgsharp merged 3 commits into
dotnet:masterfrom
michaelgsharp:datetime-support-tsi
Feb 26, 2020
Merged

Added in DateTime type support for TimeSeriesImputer#4812
michaelgsharp merged 3 commits into
dotnet:masterfrom
michaelgsharp:datetime-support-tsi

Conversation

@michaelgsharp

Copy link
Copy Markdown
Contributor

Added in System.DateTime support for the Date column in TimeSeriesImputer.

Internally it converts it to POSIX time before it sends it to the native implementation, and then converts it back to System.DateTime for the IDataView.

Also added more comments and comments for the Enums.

@michaelgsharp
michaelgsharp requested review from a team, ganik and harishsk February 7, 2020 22:12
@michaelgsharp michaelgsharp self-assigned this Feb 7, 2020
@harishsk
harishsk requested a review from natke February 8, 2020 00:17
Comment thread src/Microsoft.ML.Featurizers/TimeSeriesImputer.cs
@yaeldekel

Copy link
Copy Markdown
/// Currently only float/double/string columns are supported for imputation strategies, and an empty string is considered "missing" for the

This should be updated. Also, it should match the types in the table below.


Refers to: src/Microsoft.ML.Featurizers/TimeSeriesImputer.cs:66 in 99a5eb3. [](commit_id = 99a5eb3, deletion_comment = False)

Comment thread src/Microsoft.ML.Featurizers/TimeSeriesImputer.cs
Comment thread src/Microsoft.ML.Featurizers/TimeSeriesImputer.cs Outdated
Comment thread src/Microsoft.ML.Featurizers/TimeSeriesImputer.cs
Comment thread src/Microsoft.ML.Featurizers/TimeSeriesImputer.cs Outdated
@michaelgsharp
michaelgsharp requested a review from natke February 10, 2020 20:47
@michaelgsharp

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@michaelgsharp

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Comment thread src/Microsoft.ML.Featurizers/TimeSeriesImputer.cs
Comment thread src/Microsoft.ML.Featurizers/TimeSeriesImputer.cs
Comment thread src/Microsoft.ML.Featurizers/TimeSeriesImputer.cs
Comment thread src/Microsoft.ML.Featurizers/TimeSeriesImputer.cs Outdated
@eerhardt

Copy link
Copy Markdown
Member

Any chance you can update the samples to use a DateTime value instead of the long values it uses now? I think that makes a better sample for users.

@natke
natke self-requested a review February 26, 2020 00:13

@natke natke left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@michaelgsharp
michaelgsharp merged commit d84bf38 into dotnet:master Feb 26, 2020
@michaelgsharp
michaelgsharp deleted the datetime-support-tsi branch November 4, 2020 20:35
@ghost ghost locked as resolved and limited conversation to collaborators Mar 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants