-
Notifications
You must be signed in to change notification settings - Fork 416
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
Allow logit input in classification metrics #200
Conversation
Hello @SkafteNicki! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-05-12 09:02:37 UTC |
Codecov Report
@@ Coverage Diff @@
## master #200 +/- ##
==========================================
- Coverage 96.82% 96.80% -0.03%
==========================================
Files 184 92 -92
Lines 6024 3005 -3019
==========================================
- Hits 5833 2909 -2924
+ Misses 191 96 -95
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@SkafteNicki thoughts? 🐰 |
For logits we need to have a threshold as well to convert to binary predictions though? |
another thought shall add bool arg |
IMO we keep it simple for now by just adding this functionality by removing the explicit check. It will have the minimal change required for code. Then we probably should re-discuss the concept of task type (started here #186 by @maximsch2) such that we can make it more clear when threshold applies, hopefully remove the |
Before submitting
What does this PR do?
Fixes #74
Fixes #60
Fixes Lightning-Universe/lightning-bolts#587
Allow many classification metrics to now work with raw model predictions/logits/unnormalized scores.
List of metrics that gain support and are tested
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 🙃