Skip to content
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

R-Precision variant of Precision metrics #123

Open
blondered opened this issue Apr 20, 2024 · 0 comments
Open

R-Precision variant of Precision metrics #123

blondered opened this issue Apr 20, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@blondered
Copy link
Collaborator

blondered commented Apr 20, 2024

Feature Description

Add r_precision: bool = False parameter to Precision metric.
When r_precision is set to True, number of True Positives in K recommendations for user are divided by min(K, test items count for user) instead of simple division by K.

Why this feature?

This variant has better interpretation. https://www.shaped.ai/blog/evaluating-recommendation-systems-part-1

Additional context

No response

@blondered blondered added good first issue Good for newcomers enhancement New feature or request and removed good first issue Good for newcomers labels Apr 20, 2024
@blondered blondered added the help wanted Extra attention is needed label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: 🔖 Next
Development

No branches or pull requests

1 participant