Compute the area under the ROC curve (AUC) of a list of ranked items
Declaring type: ItemPredictionEval
Namespace: MyMediaLite.Eval
Assembly: MyMediaLite
Collapse/Expand Syntax
C#
public static double AUC (
        int[] ranked_items,
        ICollection<int> correct_items
) 
Parameters
ranked_items
a list of ranked item IDs, the highest-ranking item first
correct_items
a collection of positive/correct item IDs
Return Value
the AUC for the given data