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 ev.seasonal_error #2696

Merged
merged 2 commits into from
Feb 27, 2023
Merged

Fix ev.seasonal_error #2696

merged 2 commits into from
Feb 27, 2023

Conversation

lostella
Copy link
Contributor

Issue #, if available: See discussion in #2673

Description of changes: Time axis was inconsistent within gluonts.ev.seasonal_error, this makes it consistent (and configurable, and more compact).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Please tag this pr with at least one of these labels to make our release process faster: BREAKING, new feature, bug fix, other change, dev setup

@lostella lostella added bug fix (one of pr required labels) pending v0.12.x backport This contains a fix to be backported to the v0.12.x branch labels Feb 27, 2023
Comment on lines +26 to +27
if seasonality > time_length:
seasonality = 1
Copy link
Contributor

Choose a reason for hiding this comment

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

I still find this somewhat odd.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not great

Copy link
Contributor

Choose a reason for hiding this comment

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

Not terrible

@lostella lostella merged commit 176c533 into awslabs:dev Feb 27, 2023
@lostella lostella deleted the fix-seasonal-error branch February 27, 2023 14:30
melopeo pushed a commit to melopeo/gluon-ts that referenced this pull request Mar 14, 2023
@melopeo melopeo mentioned this pull request Mar 14, 2023
melopeo added a commit that referenced this pull request Mar 15, 2023
* Fix `ev.seasonal_error` (#2696)

* Docs: minor spelling fix (#2701)

* Fix Pandas 2.0 compatibility issues (#2710)

* Relax pandas requirement to include pandas 2.x. (#2713)

* Fix DistributionForecast failure on GPU (#2714)

* file style in init files

---------

Co-authored-by: Lorenzo Stella <stellalo@amazon.com>
Co-authored-by: Jasper <schjaspe@amazon.de>
Co-authored-by: Huibin Shen <icdishb@gmail.com>
Co-authored-by: Pedro Eduardo Mercado Lopez <pedroml@amazon.com>
@melopeo melopeo removed the pending v0.12.x backport This contains a fix to be backported to the v0.12.x branch label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix (one of pr required labels)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants