Execution time of multiple forecasts in AutoARIMA in StatsForecast, Python. Index not read correctly? #194
-
I want to run +10.000 forecasts on time series using AutoARIMA in Statsforecast. Execution time is super slow when I try to make more than one forecast. I have labelled my time series through the index. It seems Statsforecast dosn't seperate the two time series.
I run the following StatsForecast code:
Index(['1_2137', '2_2137'], dtype='object') Doing a single forecast takes 0.3 seconds. Doing both takes 16 second. I get the forecast (here as a graph): How do I get StatsForecast to seperate the index correctly? Looking at the output, it seems like, it sees it as one series. Thank you very much for looking at it and for sharing your great algorithm!!! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @anders-kruse, Some comments on the code you shared:
Can you try to follow the example above and see if that works for you? |
Beta Was this translation helpful? Give feedback.
-
An additional comment in the updated StatsForecast library we are making a distinction between When forecasting large scale data like in your case we recommend the |
Beta Was this translation helpful? Give feedback.
Hi @anders-kruse,
Some comments on the code you shared:
n_jobs=-1
to use all your local computer's cpus.Can you try to follow the example above and see if that works for you?