Skip to content

Attribute error while forecasting multiple time series #271

Answered by AzulGarza
widovanheemstra asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @widovanheemstra!

The problem arises due to the definition of the models parameter. Instead of using a tuple, you must include autoARIMA in the list.

The code would be,

autoARIMA = AutoARIMA(season_length=12)
model = StatsForecast(
    df=train_df,
    models=[autoARIMA],
    freq="M",
    n_jobs=-1
)

fc = model.forecast(
    62,
    X_df=test_df,
    level=(80, 95)
)

Tuples were deprecated as of v1.0.0 of StatsForecast.

Please let me know if another problem arises. :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@widovanheemstra
Comment options

Answer selected by widovanheemstra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants