|
|
|
|
|
by ddmd
2553 days ago
|
|
One problem I have with statsmodels is that I cannot apply trained models to new data rather than to the train data. In other words I do not want to forecast the train data - I want to forecast completely new time series. For example, here I create and train a model: model = ARIMA(df.value, order=(1,1,1))
fitted = model.fit(disp=0)
And then I immediately do forecast: fc, se, conf = fitted.forecast(...)
Yet, it is not what I need. Typically, I store the model and then apply it to many new datasets which are received later.sklearn explicitly supports this pattern (train data set for training and then another data set for prediction). Is it possible in ARIMA and other forecasting algorithms in statsmodels? |
|