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: NaNs containing forecast on some ets configs #1292

Merged
merged 2 commits into from
May 17, 2024
Merged

Conversation

Lopa10ko
Copy link
Collaborator

@Lopa10ko Lopa10ko commented May 16, 2024

This is a 🐛 bug fix.

  • add default ETSModel fall-back on a convergence warning
  • run local tests on troubled pipelines
  • run integration workflow

closes #1285

@Lopa10ko Lopa10ko added bug Something isn't working time series related to time series processing labels May 16, 2024
@Lopa10ko Lopa10ko self-assigned this May 16, 2024
Copy link

docu-mentor bot commented May 16, 2024

👋 Hi, I'm @docu-mentor, an LLM-powered GitHub app
powered by Anyscale Endpoints
that gives you actionable feedback on your writing.

Simply create a new comment in this PR that says:

@docu-mentor run

and I will start my analysis. I only look at what you changed
in this PR. If you only want me to look at specific files or folders,
you can specify them like this:

@docu-mentor run doc/ README.md

In this example, I'll have a look at all files contained in the "doc/"
folder and the file "README.md". All good? Let's get started!

Copy link
Contributor

github-actions bot commented May 16, 2024

All PEP8 errors has been fixed, thanks ❤️

Comment last updated at

# if convergence warning is caught, switch to default ETSModel
self.model.fit(disp=False)
except ConvergenceWarning as e:
self.params.update(**{'error': 'add', 'trend': None, 'seasonal': None})
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Вроде в таком случае надо ещё в model_repository.json к ets добавить тег correct_params

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Lopa10ko Lopa10ko merged commit 9434d66 into master May 17, 2024
12 checks passed
@Lopa10ko Lopa10ko deleted the fix-etsmodel-nans branch May 17, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working time series related to time series processing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: NaN-filled predict from ETSModel operation on metric evaluation
2 participants