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

Fix missing AUC score when plotting #1948

Merged
merged 5 commits into from
Aug 3, 2023
Merged

Conversation

SkafteNicki
Copy link
Member

@SkafteNicki SkafteNicki commented Jul 28, 2023

What does this PR do?

Fixes #1941

The AUC score was not added to the appropriate plots even when user specified score=True. Fixes this.
Also fixed the examples in the different docstrings as these were just copy paste and therefore wrong.

Before submitting
  • Was this discussed/agreed 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 🙃


📚 Documentation preview 📚: https://torchmetrics--1948.org.readthedocs.build/en/1948/

@SkafteNicki SkafteNicki added bug / fix Something isn't working documentation Improvements or additions to documentation labels Jul 28, 2023
@SkafteNicki SkafteNicki added this to the v1.0.x milestone Jul 28, 2023
@codecov
Copy link

codecov bot commented Jul 28, 2023

Codecov Report

Merging #1948 (fc5f4e6) into master (fb74428) will decrease coverage by 36%.
The diff coverage is 0%.

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #1948     +/-   ##
========================================
- Coverage      85%     49%    -36%     
========================================
  Files         265     265             
  Lines       15136   15136             
========================================
- Hits        12878    7431   -5447     
- Misses       2258    7705   +5447     

@mergify mergify bot added the ready label Jul 28, 2023
@Borda Borda enabled auto-merge (squash) August 1, 2023 11:29
@Borda Borda requested a review from a team August 1, 2023 18:23
@Borda Borda merged commit 7cda67c into master Aug 3, 2023
@Borda Borda deleted the bugfix/plot_missing_score branch August 3, 2023 07:29
Borda pushed a commit that referenced this pull request Aug 3, 2023
Borda pushed a commit that referenced this pull request Aug 3, 2023
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 documentation Improvements or additions to documentation ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AUC score legend not plotted when score=True
3 participants