Skip to content

Execution time of multiple forecasts in AutoARIMA in StatsForecast, Python. Index not read correctly? #194

Answered by kdgutier
anders-kruse asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @anders-kruse,

Some comments on the code you shared:

  1. StatsForecast class is designed to operate with panel data in a pandas DataFrame with 'unique_id', 'ds', and 'y' columns. Here is an example.
  2. Seems that your plots have some indexes confused. My intuition is that your indexes are getting combined into their interactions.
  3. You might want to set the number of jobs to n_jobs=-1 to use all your local computer's cpus.
  4. There is a gap between the first time you run the method and the second, because the first time will compile the numba code.

Can you try to follow the example above and see if that works for you?

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@anders-kruse
Comment options

@anders-kruse
Comment options

Answer selected by anders-kruse
Comment options

You must be logged in to vote
1 reply
@anders-kruse
Comment options

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