MyMediaLite
3.01
|
Normalized discounted cumulative gain (NDCG) 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 normalized discounted cumulative gain (NDCG) of a list of ranked items. |
Normalized discounted cumulative gain (NDCG) of a list of ranked items.
static double Compute | ( | IList< int > | ranked_items, |
ICollection< int > | correct_items, | ||
ICollection< int > | ignore_items = null |
||
) | [inline, static] |
Compute the normalized discounted cumulative gain (NDCG) of a list of ranked items.
See http://recsyswiki.com/wiki/Discounted_Cumulative_Gain
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 |