You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Nice to have] having transformers to get date information from Datetime #6232
ModelBuilder just add support for Datetime type, in order to make the most use of this type, it would be helpful if ML.Net has API to extract specific date information from datetime column
Describe the solution you'd like
classInput{publicDatetimedate{get;set;]}varpipeline=mlContext.Transformer.GetYearOutOfDate("year","date").Append(mlContext.Transformer.GetDayOutOfDate("day","date").Append(mlContext.Transformer.GetWeekdayOutOfDate("weekday","date").Append(mlContext.Transformer.GetMonthOutOfDate("month","date");class Output
{public Datetme date {get;set;}
public int Year {get;set;}
public int day {get;set;}
public string Month {get;set;}// Feb, Jan...
public string Weekday {get;set;}// Mon, Tue,..}
Reactivating since we're removing Microsoft.ML.Featurizers in #6355. Per offline discussion we think that we could bring back some of these as a managed implementation.
Activity
luisquintanilla commentedon Sep 20, 2022
@LittleLittleCloud Sorry for the late reply. Check out the FeaturizeTimeDate and ReplaceMissingTimeSeriesValues transforms. They're not in the docs but are part of ML.NET.
Currently tracking adding them to docs in #6333 and #6334
Closing this issue for now.
ericstj commentedon Oct 7, 2022
Reactivating since we're removing Microsoft.ML.Featurizers in #6355. Per offline discussion we think that we could bring back some of these as a managed implementation.