Computes the area under the ROC curve (AUC) by applying a Wilcoxon rank-sum test between predicted values for positive and negative labels. This is equivalent to computing the Mann-Whitney U statistic.
AUC(labels, values)A list with:
aucEstimated AUC, or 0.5 if one class is missing
pvalWilcoxon test p-value, or NA if one class
is missing