Skip to content

feat: Allow model_utils.prediction to skip uncertainty calculation #510

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

MoAly98
Copy link
Collaborator

@MoAly98 MoAly98 commented Feb 25, 2025

closes #417.

This solution returns zero uncertainty when calculation is skipped, avoiding change in ModelPrediction class.

* allow user to return yield predictions without computing uncertainties. A null uncertainty is returned instead. 

@MoAly98 MoAly98 self-assigned this Feb 25, 2025
Copy link

codecov bot commented Feb 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (bb682b4) to head (2899403).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #510   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           22        22           
  Lines         2098      2104    +6     
  Branches       291       292    +1     
=========================================
+ Hits          2098      2104    +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MoAly98 MoAly98 changed the title Allow model_utils.prediction to skip uncertainty calculation feat: Allow model_utils.prediction to skip uncertainty calculation Feb 28, 2025
@MoAly98 MoAly98 added the enhancement New feature or request label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Model prediction without uncertainties
2 participants