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

✨ allow predict_quantified to return values by alias #157

Merged
merged 4 commits into from
Feb 16, 2023

Conversation

MiWeiss
Copy link
Member

@MiWeiss MiWeiss commented Feb 16, 2023

Simply add return_alias_dict=True and the return value will be a dict of quantifier aliases pointing to (prediction, confidence_or_uncertainty) tuples.

Closes #9

@MiWeiss MiWeiss enabled auto-merge (squash) February 16, 2023 11:50
@codecov
Copy link

codecov bot commented Feb 16, 2023

Codecov Report

Base: 94.70% // Head: 94.84% // Increases project coverage by +0.14% 🎉

Coverage data is based on head (2d1eaf0) compared to base (738ed10).
Patch coverage: 100.00% of modified lines in pull request are covered.

❗ Current head 2d1eaf0 differs from pull request most recent head e10a9a3. Consider uploading reports for the commit e10a9a3 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #157      +/-   ##
==========================================
+ Coverage   94.70%   94.84%   +0.14%     
==========================================
  Files          27       27              
  Lines         925      931       +6     
==========================================
+ Hits          876      883       +7     
+ Misses         49       48       -1     
Impacted Files Coverage Δ
..._wizard/models/_stochastic/_abstract_stochastic.py 90.65% <100.00%> (+0.26%) ⬆️
...nty_wizard/models/ensemble_utils/_lazy_ensemble.py 92.00% <100.00%> (+0.84%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@MiWeiss MiWeiss merged commit b48c4bd into main Feb 16, 2023
@MiWeiss MiWeiss deleted the predict_quantified_as_dict branch February 16, 2023 11:58
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.

multi-quantifier quantification as_dict
1 participant