Skip to content

Conversation

@madtoinou
Copy link
Contributor

@madtoinou madtoinou commented Nov 8, 2024

Checklist before merging this PR:

  • Mentioned all issues that this PR fixes or addresses.
  • Summarized the updates of this PR under Summary.
  • Added an entry under Unreleased in the Changelog.

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 the ForecastingModel.predict() method, where some sanity checks are implemented).

Copy link
Collaborator

@dennisbader dennisbader left a 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
Copy link

codecov bot commented Nov 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.09%. Comparing base (18e2e3f) to head (0c6ae68).
Report is 1 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

@madtoinou madtoinou merged commit d909589 into master Nov 11, 2024
9 checks passed
@madtoinou madtoinou deleted the fix/hfc_opti_reg_prob branch November 11, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How are samples generated with RegressionModel / MLPRegressor?

3 participants