This question already has an answer here:

Calculating AUC for one threshold in the continuous output is simple:

AUC = (TPR - FPR + 1) / 2;

What if I want to calculate AUC for multiple thresholds in continuous output of the classifier?


marked as duplicate by Sycorax, Michael Chernick, Peter Flom Jul 30 '18 at 11:20

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    $\begingroup$ That is not AUROC. AUROC uses all possible thresholds, or more intuitively, can be defined by a rank correlation between predicted and observed without any notion of thresholds, using a concordance probability ($c$-index). $\endgroup$ – Frank Harrell Nov 29 '16 at 16:59

Browse other questions tagged or ask your own question.