-
Notifications
You must be signed in to change notification settings - Fork 409
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 top_k for multiclassf1score #2839
base: master
Are you sure you want to change the base?
Conversation
Thanks for the effort. Imho, you could have handled the "refining" on directly
Which is more compact way of doing the same job. (Cloning and reshaping are omitted here) Also, these changes will break the current tests for all |
Thanks for your suggestions.I've noticed some of the tests have failed. I'm working on them. I am also comparing them with other library implementations. I'll keep updating here. |
fe3ac74
to
6d40bb4
Compare
4574d2f
to
a949834
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2839 +/- ##
========================================
- Coverage 69% 41% -28%
========================================
Files 346 332 -14
Lines 19129 18962 -167
========================================
- Hits 13227 7736 -5491
- Misses 5902 11226 +5324
|
What does this PR do?
Fixes #1653
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 🙃
📚 Documentation preview 📚: https://torchmetrics--2839.org.readthedocs.build/en/2839/