MyMediaLite
3.08
|
The reciprocal rank of a list of ranked items. More...
Static Public Member Functions | |
static double | Compute (IList< int > ranked_items, ICollection< int > correct_items) |
Compute the reciprocal rank of a list of ranked items. |
The reciprocal rank of a list of ranked items.
See http://en.wikipedia.org/wiki/Mean_reciprocal_rank
Literature:
static double Compute | ( | IList< int > | ranked_items, |
ICollection< int > | correct_items | ||
) | [inline, static] |
Compute the reciprocal rank of a list of ranked items.
See http://en.wikipedia.org/wiki/Mean_reciprocal_rank
ranked_items | a list of ranked item IDs, the highest-ranking item first |
correct_items | a collection of positive/correct item IDs |