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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/avg prec auroc compute groups #1086

Merged
merged 3 commits into from Jun 13, 2022

Conversation

SkafteNicki
Copy link
Member

@SkafteNicki SkafteNicki commented Jun 13, 2022

What does this PR do?

Fixes #1084
Refactor some operations from _update to _compute in avg_precision to make sure states in MetricCollection are recognised as the same.
Adds relevant tests

Before submitting

  • Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 馃檭

@SkafteNicki SkafteNicki added the bug / fix Something isn't working label Jun 13, 2022
@SkafteNicki SkafteNicki added this to the v0.9 milestone Jun 13, 2022
@codecov
Copy link

codecov bot commented Jun 13, 2022

Codecov Report

Merging #1086 (deee61a) into master (ea97d03) will decrease coverage by 15%.
The diff coverage is 100%.

@@           Coverage Diff            @@
##           master   #1086     +/-   ##
========================================
- Coverage      95%     79%    -15%     
========================================
  Files         180     180             
  Lines        8078    8078             
========================================
- Hits         7637    6392   -1245     
- Misses        441    1686   +1245     

@mergify mergify bot added the ready label Jun 13, 2022
@Borda Borda enabled auto-merge (squash) June 13, 2022 13:06
@Borda Borda merged commit c2f55fa into master Jun 13, 2022
@Borda Borda deleted the bugfix/avg_prec_auroc_compute_groups branch June 13, 2022 20:06
Borda pushed a commit that referenced this pull request Jun 14, 2022
* fix bugs
* changelog

(cherry picked from commit c2f55fa)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug / fix Something isn't working ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Classification Multilabel Micro AveragePrecision does not form a compute group with comparable metrics
3 participants