Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added in DateTime type support for TimeSeriesImputer #4812

Merged
merged 3 commits into from
Feb 26, 2020

Conversation

michaelgsharp
Copy link
Member

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 harishsk, ganik and a team 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
@yaeldekel
Copy link

/// 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)

@michaelgsharp
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@michaelgsharp
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@eerhardt
Copy link
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
Copy link
Contributor

@natke natke left a comment

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