Many binary classification metrics are ratios of counts from one 2 × 2 table.
Goal: describe how well a binary classifier (a coin flip, a medical test) does, with a number that answers the question you care about.
Approach: count the samples in each of the four cells: actual class (row) by prediction (column). Every metric divides some of the cells by a row, a column or the whole table.
Goal: rate a classifier with one number that does not depend on picking a threshold.
Approach: a classifier gives each sample a score and estimates 1 when score ≥ t. Each threshold t gives one confusion matrix, so one point (FPR, TPR). Sweeping t from high to low traces the ROC (receiver operating characteristic) curve; the area under it (AUC) scores every threshold at once.
Drag the threshold on the scores, or drag along the curve. The arrow keys move it one sample. Rest the pointer on a metric at right for what it means in plain English.