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

Add missing higher_is_better attribute to metrics #584

Merged
merged 7 commits into from
Oct 27, 2021

Conversation

SkafteNicki
Copy link
Member

@SkafteNicki SkafteNicki commented Oct 27, 2021

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?

What does this PR do?

I could swear that I have already added this attribute to all these metrics, but apparently it is not present in a lot of our metrics.

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 🙃

@mergify mergify bot removed the has conflicts label Oct 27, 2021
@codecov
Copy link

codecov bot commented Oct 27, 2021

Codecov Report

Merging #584 (1c943a8) into master (a23916b) will decrease coverage by 0%.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #584   +/-   ##
=====================================
- Coverage      95%    95%   -0%     
=====================================
  Files         148    148           
  Lines        5111   5142   +31     
=====================================
+ Hits         4866   4895   +29     
- Misses        245    247    +2     

@mergify mergify bot added the ready label Oct 27, 2021
@Borda Borda enabled auto-merge (squash) October 27, 2021 08:57
Copy link
Member

@justusschock justusschock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one comment :)

torchmetrics/regression/tweedie_deviance.py Outdated Show resolved Hide resolved
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
Copy link
Contributor

@tchaton tchaton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGMT !

@Borda
Copy link
Member

Borda commented Oct 27, 2021

@tchaton you do not need to merge master, it is done automatically by bot...

@Borda Borda merged commit 3534651 into master Oct 27, 2021
@Borda Borda deleted the missing_higher_is_better branch October 27, 2021 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants