Skip to content

How to use roll_time_series function properly? #1037

Closed Answered by nils-braun
Mahyar24 asked this question in Q&A
Discussion options

You must be logged in to vote

Have you looked into the documentation for the function? https://tsfresh.readthedocs.io/en/latest/api/tsfresh.utilities.html#tsfresh.utilities.dataframe_functions.roll_time_series
There is also a dedicated document text for rolling: https://tsfresh.readthedocs.io/en/latest/text/forecasting.html#forecasting-label

There you will find what these arguments mean. For your use-case, you can set the max_timeshift to 4*60 (maximum length of each resulting time series) and the rolling_direction to 60 (the size of each step). Have you actually tried the function already and are facing any errors with it?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Mahyar24
Comment options

@nils-braun
Comment options

@Mahyar24
Comment options

Answer selected by Mahyar24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants