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

Cyclical/Seasonality Feature Generation #403

Open
dreyco676 opened this issue Aug 16, 2018 · 2 comments
Open

Cyclical/Seasonality Feature Generation #403

dreyco676 opened this issue Aug 16, 2018 · 2 comments

Comments

@dreyco676
Copy link

dreyco676 commented Aug 16, 2018

I'm wondering if it would be in scope for TSFRESH to have some feature generators that build out features from the DatetimeIndex for use in forecasting applications to capture cyclical events. Some rational can be found here.

New Features:

  • Year
  • Month
  • Day of Year
  • Week of Year
  • Weekday/Weekend
  • Hour of Day
  • Minute of Hour
  • Second of Min
  • etc

TSFRESH could leverage many of the methods available in Pandas DatetimeIndex to automate features efficiently by inferring the frequency and total span of time the dataset covers to only create applicable features.

Further TSFRESH could incorporate SIN and COS transformations for datasets that are continuous.

If these are in scope for this project, I'd be happy to take a stab at a PR. If not, no worries.

@MaxBenChrist
Copy link
Collaborator

MaxBenChrist commented Sep 6, 2018

Sorry for the late answer @dreyco676 . The links that you send me are interesting.

I am not sure how to implement this properly and I am lacking at the application at the moment where I would need something like this. Can you provide an application where those features are useful?

Please keep in mind that tsfresh maps time series to a float, the sin/cos transformation that you proposed map a time series into another time series (or even two!)

@wgova
Copy link

wgova commented Feb 1, 2021

@dreyco676 and @MaxBenChrist - have you made any progress on this? Time series decomposition for multiple time series would help in grouping time series discrimination, I think. Please advise me on any progress or useful material

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants