# Calculating AUC from continuous output [duplicate]

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

• 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). – Frank Harrell Nov 29 '16 at 16:59