ROC AUC is an evaluation metric that expresses, as a single number from 0 to 1 and independently of any threshold, whether a binary classifier gives positive examples higher scores than negative ones. It is named for being the Area Under the Curve of the ROC curve (Receiver Operating Characteristic curve).
The ROC curve is drawn by moving the threshold for predicting positive and plotting the false positive rate on the horizontal axis and the true positive rate on the vertical axis.
The true positive rate (TPR) is the fraction of positives correctly predicted as positive (the same as recall), and the false positive rate (FPR) is the fraction of negatives wrongly predicted as positive.
AUC has an intuitive reading: AUC equals the probability that, when one positive and one negative example are picked at random, the positive one receives the higher score. A value of 1 means positives and negatives are perfectly separated, and 0.5 is the same as random guessing.
The ROC curve originally came from signal detection theory, where it described the trade-off between hits and false alarms. It became widely used in medical diagnosis and was later adopted in machine learning. There is no single original paper for this metric; this article follows explanations such as Fawcett (2006).

