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 axes in confusion matrix #1976

Merged
merged 5 commits into from
Aug 7, 2023
Merged

Fix axes in confusion matrix #1976

merged 5 commits into from
Aug 7, 2023

Conversation

SkafteNicki
Copy link
Member

@SkafteNicki SkafteNicki commented Aug 5, 2023

What does this PR do?

Fixes #1971
Switch the order on the axis when plotting confusion matrix such that it is correct.
Also added some text to describe the structure of the confmats (because I keep forgetting myself).

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--1976.org.readthedocs.build/en/1976/

@SkafteNicki SkafteNicki added bug / fix Something isn't working documentation Improvements or additions to documentation labels Aug 5, 2023
@SkafteNicki SkafteNicki added this to the v1.1.0 milestone Aug 5, 2023
@codecov
Copy link

codecov bot commented Aug 5, 2023

Codecov Report

Merging #1976 (89ab95e) into master (cd7ef55) will not change coverage.
The diff coverage is 100%.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #1976   +/-   ##
======================================
  Coverage      86%     86%           
======================================
  Files         266     266           
  Lines       15185   15185           
======================================
  Hits        13131   13131           
  Misses       2054    2054           

@mergify mergify bot added the ready label Aug 5, 2023
@Borda Borda enabled auto-merge (squash) August 7, 2023 09:16
@mergify mergify bot added the has conflicts label Aug 7, 2023
@mergify mergify bot removed the has conflicts label Aug 7, 2023
@Borda Borda merged commit 4259943 into master Aug 7, 2023
@Borda Borda deleted the confmat_plot_axes branch August 7, 2023 12:57
Borda pushed a commit that referenced this pull request Aug 8, 2023
Borda pushed a commit that referenced this pull request Aug 8, 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.

ConfusionMatrix.plot axes are incorrect
3 participants