Replies: 2 comments 4 replies
|
hey, have you found how to apply this rolling window? anyone could help? thanks |
1 reply
|
I think you can do that by specifying StepStrategy for the rolling dataset, ex: Then to evaluate you'd need to define predictor and evaluator and run: |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
I would like to split my time series data into a train and a test set and train a DeepAREstimator on the training set. I would then like to perform sliding window predictions on the test set, e.g. with prediction_length of 4, I would like to be able to take first 4 datapoints t1-t4 from the test set, create predictions for datapoints t5-t8 and calculate the error, then move my window one step to the right, take datapoints t2-t5, predict t6-t9 and so on.
Could you please let me know where to look for an example? Is https://github.com/awslabs/gluon-ts/blob/master/examples/run_rolling_forecast_backtest.py relevant? Many thanks!
All reactions