https://github.com/nixtla logo
#general
Title
# general
c

Conrado Mco

07/21/2023, 6:06 PM
It gives the follow error:
Copy code
ValueError: order must be 3 non-negative integers, got (0, 0, 1)
But if I try the code below, it works:
Copy code
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)
So, if I pass the order as variables, it returns an error. But if I explicit give the order as a tuple, it works.