|
MyMediaLite
3.04
|
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, ICollection< int > ignore_items=null) |
| 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, | ||
| ICollection< int > | ignore_items = null |
||
| ) | [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 |
| ignore_items | a collection of item IDs which should be ignored for the evaluation |
1.7.6.1