Korek Testowy
07/16/2023, 5:21 PMforecast
method. Could You please help me? 🙂
Is it possible to save optimal model per time series if I use forecast
method to forecast around 500 time series, so I can re-use them next time I would like to make a forecast?
For example, in my case I would like to use the same models and parameters, train them using new available month and make a forecast. My plan is to use forecast
only after 3-4 months to ensure that my models don't change too often.
Thank You very much in advance!Max (Nixtla)
07/16/2023, 5:51 PMKorek Testowy
07/19/2023, 4:07 PMMax (Nixtla)
07/24/2023, 1:33 AMforecast
method is completely compatible with distributed clusters, so it does not store any model parameters. (It would be expensive and slow to store local parameters accross clusters and then send them over different machines). If you want to store parameters for every model you can use the fit
and predict
methods. However, those methods are not defined for distrubed engines like Spark, Ray or Dask.
So, yes, indeed, statsforecast does not support distributed .fit and .predict. The intuition behind is that with statistical methods (local models) it would probably make more sense to always retrain before forecasting.
If you want to use pretrained global models for forecasting and save on retraining, we would probably recommend mlforecast..update
method. Here is a tutorial: https://nixtla.github.io/mlforecast/docs/end_to_end_walkthrough.html#updating-series-values