-
Notifications
You must be signed in to change notification settings - Fork 423
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 parameter top_k
to RetrievalMAP
#1501
Conversation
e.g. MAP@10, i.e. consider only the top k elements for each query.
for more information, see https://pre-commit.ci
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #1501 +/- ##
========================================
- Coverage 88% 36% -53%
========================================
Files 216 216
Lines 11334 11344 +10
========================================
- Hits 10025 4047 -5978
- Misses 1309 7297 +5988 |
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.
Great PR :]
@lucadiliello please review :) |
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. Some tests are failing but I don't understand why.
Co-authored-by: Luca Di Liello <[email protected]>
top_k
to RetrievalMAP
I will do a last review of the failing tests tomorrow before merging. |
Since we are left only with |
Co-authored-by: Jirka Borovec <[email protected]>
@lucadiliello Feel free to do so :) |
What does this PR do?
Fixes #1491
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 🙃