IntermediateAbout 22 min
ROC Curve & AUC
Read the full article on Substack
6 min read.
Visualize ROC curves and AUC, and learn where they beat accuracy — and where they quietly flatter a model. Under a rare positive class the curve still looks excellent while precision collapses, which is why Geron's rule is to prefer the precision-recall curve whenever the positive class is rare.
0.50
At 0.50, it catches 37 of 50 positives (TPR 74%) and wrongly flags 12 of 50 negatives (FPR 24%). AUC 0.87.
Check your understanding
Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.
ROC or precision-recall?
Sort
Sort each statement by which curve it describes.
Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.
ROC curve
Drop items herePrecision-recall curve
Drop items here6 pieces left to place
Quiz
20 questionsQuestion 1 of 20
Score: 0
The ROC curve plots…
Done with this lesson?
Sign in free to keep your progress, streak and quiz scores.