You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Feature Description
Add
r_precision: bool = False
parameter toPrecision
metric.When
r_precision
is set toTrue
, 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
The text was updated successfully, but these errors were encountered: