Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix arima trained models results index #858

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Conversation

jmoralez
Copy link
Member

@jmoralez jmoralez commented Jun 18, 2024

When running auto arima we keep an array of the combinations of (p, d, q, P, D, Q, constant) that we've tried, along with its IC. The indexing of this results array wasn't being done properly, we were removing the last row, which made it so that we could try the same combination twice. This changes the indexing so that k (the index) always points to the next entry that we would fill, so that performing results[:k] returns the combinations that we've already tried.

Originally reported here.

@jmoralez jmoralez added the fix label Jun 18, 2024
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jmoralez jmoralez requested a review from AzulGarza June 18, 2024 20:26
@jmoralez jmoralez merged commit 9280132 into main Jul 15, 2024
20 checks passed
@jmoralez jmoralez deleted the fix-arima-results-idx branch July 15, 2024 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants