-
Couldn't load subscription status.
- Fork 1.9k
Open
Labels
P2Priority of the issue for triage purpose: Needs to be fixed at some point.Priority of the issue for triage purpose: Needs to be fixed at some point.enhancementNew feature or requestNew feature or request
Milestone
Description
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
class Input
{
public Datetime date {get; set;]
}
var pipeline = 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,..
}What's more
ignore this issue if ML.Net already support that.
Metadata
Metadata
Assignees
Labels
P2Priority of the issue for triage purpose: Needs to be fixed at some point.Priority of the issue for triage purpose: Needs to be fixed at some point.enhancementNew feature or requestNew feature or request