-
Notifications
You must be signed in to change notification settings - Fork 886
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/hfc opti reg prob #2588
Fix/hfc opti reg prob #2588
Conversation
…an 1 for optimized historical forecasts
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 @madtoinou, looks good to me. Just a minor suggestion
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2588 +/- ##
==========================================
- Coverage 94.14% 94.09% -0.06%
==========================================
Files 139 139
Lines 14882 14884 +2
==========================================
- Hits 14011 14005 -6
- Misses 871 879 +8 ☔ View full report in Codecov by Sentry. |
Checklist before merging this PR:
Fixes #2461.
Summary
Thanks to #2534, the reshaping of the features logic was fixed. This PR just makes sure an exception is raised when trying to use
num_samples > 1
with a deterministic regression model and the optimized historical forecasts (which does not call theForecastingModel.predict()
method, where some sanity checks are implemented).