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 attributes in some metric #2028

Merged
merged 7 commits into from
Aug 28, 2023
Merged

Fix missing attributes in some metric #2028

merged 7 commits into from
Aug 28, 2023

Conversation

SkafteNicki
Copy link
Member

@SkafteNicki SkafteNicki commented Aug 26, 2023

What does this PR do?

Fixes #2026
Add higher_is_better, is_differential etc attributes.
Somewhere they are wrongly set, somewhere they are simply missing.

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

@SkafteNicki SkafteNicki added the bug / fix Something isn't working label Aug 26, 2023
@SkafteNicki SkafteNicki added this to the v1.1.x milestone Aug 26, 2023
@codecov
Copy link

codecov bot commented Aug 28, 2023

Codecov Report

Merging #2028 (b21f75d) into master (71177fd) will decrease coverage by 22%.
The diff coverage is 100%.

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #2028     +/-   ##
========================================
- Coverage      87%     65%    -22%     
========================================
  Files         275     275             
  Lines       15649   15664     +15     
========================================
- Hits        13548   10146   -3402     
- Misses       2101    5518   +3417     

@Borda Borda enabled auto-merge (squash) August 28, 2023 09:57
@mergify mergify bot added the ready label Aug 28, 2023
@Borda Borda merged commit cc6f6cc into master Aug 28, 2023
@Borda Borda deleted the fix/missing_attributes branch August 28, 2023 10:29
Borda pushed a commit that referenced this pull request Aug 28, 2023
matsumotosan pushed a commit to matsumotosan/metrics that referenced this pull request Sep 19, 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 ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

higher_is_better is not set on some classification metrics
3 participants