-
Notifications
You must be signed in to change notification settings - Fork 904
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 wrong seasonality basis generator for NBEATS #804
Fix wrong seasonality basis generator for NBEATS #804
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @vladimir-chernykh and thanks a lot for pointing this out!
I checked and agree with you. That one was easy to overlook!
I initiated the tests
Codecov Report
@@ Coverage Diff @@
## master #804 +/- ##
=======================================
Coverage 91.04% 91.04%
=======================================
Files 69 69
Lines 6858 6858
=======================================
Hits 6244 6244
Misses 614 614
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I believe the range of What you're talking about I think is the theta coefficients. For cosines we take first floor(H/2-1) values from theta vector and for sines we take next floor(H/2-1) values starting from floor(H/2). But this is already done correctly in the DARTS. So in my opinion no more changes needed here. |
You are right - I convinced myself too between my earlier comment and now. Thanks for checking - and good catch! We will release it (along with a planned patch release) asap. |
Fixes #803.
Summary
It fixes wrong seasonality basis vectors generated for NBEATS interpretable model. Now the basis vectors are normalized by the horizon length as it is done in the paper.
Other Information
--