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

Add support for time/date features #122

Closed
pplonski opened this issue Jul 13, 2020 · 1 comment
Closed

Add support for time/date features #122

pplonski opened this issue Jul 13, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@pplonski
Copy link
Contributor

pplonski commented Jul 13, 2020

Related to #23

@pplonski pplonski added the enhancement New feature or request label Jul 13, 2020
@pplonski pplonski self-assigned this Jul 13, 2020
@pplonski pplonski added this to the version 0.6.0 milestone Jul 13, 2020
@pplonski
Copy link
Contributor Author

mljar-supervised supports now date/time features! 🎉 Feature should be translated to Pandas datetime before providing it to AutoML:

df["date"] = pd.to_datetime(df["date"])

Then AutoML will detect datetime features and will transform it by adding numerical features like: year, month, day, weekday, dayofyear, hour, days_diff_to_min (the difference between minimum date treated as reference). The new features will be added if there will be more than 1 unique value. For example, the AutoML will try to construct a year feature, but if all rows will have the same year then such feature will not be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant