I have a very small array representing annual values. I'm trying to train a model using auto_arima and then get predictions.
The predictions start off fine, decreasing as we would expect as per the trend in the training data. However, the last 3 values in the prediction actually start to increase. What parameters are causing this increase and do I need to adjust a certain setting to avoid auto_arima fitting this erroneously?
import numpy as np
from pmdarima import auto_arima
train = np.array([0.99, 0.98, 0.97, 0.94, 0.92, 0.90])
stepwise_model = auto_arima(train,
seasonal=False
)
test_forecast = stepwise_model.predict(n_periods=5)
test_forecast
array([0.88691761, 0.880986 , 0.88232842, 0.89011927, 0.90277567])