Thief of Wealth

https://machinelearningmastery.com/save-arima-time-series-forecasting-model-python/


from statsmodels.tsa.arima_model import ARIMA, ARIMAResults

# fit model
model = ARIMA(X, order=(1,1,1))
model_fit = model.fit()
# save model
model_fit.save('model.pkl')
# load model
loaded = ARIMAResults.load('model.pkl')


profile on loading

Loading...