-
Notifications
You must be signed in to change notification settings - Fork 415
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
New metric: Precision at fixed recall #1683
Conversation
for more information, see https://pre-commit.ci
…/PyTorchLightning/metrics into metric/precision_at_fixed_recall
@SkafteNicki seems that the docstring examples do not return the correct values... |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #1683 +/- ##
========================================
- Coverage 88% 52% -36%
========================================
Files 236 238 +2
Lines 13200 13331 +131
========================================
- Hits 11618 6928 -4690
- Misses 1582 6403 +4821 |
@SkafteNicki could you pls check the typing? 🐿️ |
@Borda, thanks for this awesome PR! Will it be introduced in |
will be in v1.0.0 and we can do RC on beginning of next week for early testing |
What does this PR do?
Fixes #1678
Adds
PrecisionAtFixedRecall
new metric. It is basically a copy-paste ofRecallAtFixedPrecision
with the logic turned around.Before submitting
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 🙃