Does saving predictions not exist?
I used 3+ hours to produce my historical_forecasts. Is there no way to persist these predictions? All the examples show only metric calculations.
Hi,
You can store the output of historical_forecasts() in a TimeSeries and then export it using to_csv() or to_json() depending on the format you prefer.
Depending on the value of the last_points_only argument of historical_forecasts(), you will get the values of the last predicted horizon or all of them (see the detailed explanation in the documentation for the model you're using).
Apart from that, there is also always the easy option to just pickle the output of historical forecasts (of course only if your use can handle all the cons/drawbacks of pickling)
Thanks, both! I need to do a lot more processing than TimeSeries alone because I have multivariate time series and I have groups of TimeSeries. In general, the documentation is lacking end-to-end examples for grouped Time Series.
Pickling won't quite work for me in this case. I need to return as a DataFrame so I can calculate WAPE.
Is it possible to access my attributes, group_id in this case?

EDIT: Found that I can use pred[0].static_covariates["group_id"][0]
@chengyineng38 is this problem solved or do you still have troubles exporting your TimeSeries to memory?
The problem is resolved.