Conrado Mco07/21/2023, 6:06 PM
But if I try the code below, it works:
ValueError: order must be 3 non-negative integers, got (0, 0, 1)
So, if I pass the order as variables, it returns an error. But if I explicit give the order as a tuple, it works.
from statsforecast.utils import AirPassengers as ap from statsforecast.models import ARIMA arima = ARIMA(order = (0, 0, 1), season_length = 12) arima.fit(y=ap)