You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would greatly appreciate being able to access the best-fitted ARIMA model from AutoARIMA.
It is a common use case to optimize the model hyperparameters on one period and then fit and predict an ARIMA model with those hyperparameters on a different period.
The text was updated successfully, but these errors were encountered:
Hey @RickoClausen, thanks for using statsforecast. If you use fit then the trained models are stored in the fitted_ attribute. The p, d, q, P, D, Q, m parameters can be retrieved with the following:
sf=StatsForecast(...)
sf.fit(...)
params= [
[m.model_["arma"][i] foriin [0, 5, 1, 2, 6, 3, 4]]
forminsf.fitted_[:, 0] # assuming AutoARIMA is the first model in the list
]
This will create a list where each element is a list with the optimal parameters for that serie.
Thanks. :)
However I still think it would make sense to have a property of the Auto classes, which can return the best-fitted non-auto version of the model, entire model class instance, instead of just the parameters.
Description
I would greatly appreciate being able to access the best-fitted ARIMA model from AutoARIMA.
It is a common use case to optimize the model hyperparameters on one period and then fit and predict an ARIMA model with those hyperparameters on a different period.
The text was updated successfully, but these errors were encountered: