-
Notifications
You must be signed in to change notification settings - Fork 411
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 Hinge metric #120
Add Hinge metric #120
Conversation
Codecov Report
@@ Coverage Diff @@
## master #120 +/- ##
==========================================
- Coverage 96.38% 96.35% -0.03%
==========================================
Files 140 72 -68
Lines 4420 2280 -2140
==========================================
- Hits 4260 2197 -2063
+ Misses 160 83 -77
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.
I am not very sure about adding anything named as Loss, could we have it consistent with others?
…metrics into feature/hinge_loss
@Borda Happy to change if needed 😃 although not sure what else to call it. I guess the options are:
Any other suggestions @SkafteNicki @justusschock ? |
@Borda @SkafteNicki Thanks for the comments 😃 I've added check for |
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.
very nice, almost there, just last comments from me :]
Hello @ethanwharris! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-03-25 19:51:13 UTC |
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.
smaller comments else LGTM
Co-authored-by: Nicki Skafte <[email protected]>
Co-authored-by: Nicki Skafte <[email protected]>
Co-authored-by: Nicki Skafte <[email protected]>
…metrics into feature/hinge_loss
@PyTorchLightning/core-metrics I was having a weird issue here where the test was hanging forever rather than reporting an error with |
Before submitting
What does this PR do?
Fixes #89 - added the
multiclass_mode
parameter to enable computation in a one-vs-all fashion (e.g. for multi-class SVMs)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 🙃