How to use the output of test data from the split function #2931
-
I have read the documentation on GluonTS a few times and I find it extremely helpful.
but there is no documentation as to how to use the test_pairs for forecasting or evaluation.
I found a way around it by reconstructing a ListDataset as follows and then using the test_ds as input for the forecasting function:
In this method, I basically use the input part of the test_pairs to reconstruct a ListDataset. This seems to be a wasteful way to handle the TestData object. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@OriginalGoku the example in this PR is relevant: #2673 It shows how to use the output of This is a relatively new feature and may slightly change in future versions, so there’s yet no example in the documentation, but we should add it soon! |
Beta Was this translation helpful? Give feedback.
-
lostella One thing I am still not 100% sure is the way predict function handles test_data.
|
Beta Was this translation helpful? Give feedback.
@OriginalGoku the example in this PR is relevant: #2673 It shows how to use the output of
split
to evaluate forecasts accuracy.This is a relatively new feature and may slightly change in future versions, so there’s yet no example in the documentation, but we should add it soon!