ROC Curve (Receiver Operating Characteristic)#
A plot of true- versus false-positive rate across thresholds.
Important
✨ AI-generated content. This page was written with the assistance of an AI language model and is provided as a learning aid. Despite careful review, it may still contain mistakes, omissions, or out-of-date information. Whether you are new to the topic, a team lead, or a senior practitioner, treat it as a starting point rather than an authoritative reference: read it critically and independently verify anything you act on (code, commands, figures, and factual claims) against official documentation and primary sources before relying on it.
What it is#
A ROC curve (Receiver Operating Characteristic) plots a binary classifier’s true positive rate (sensitivity / recall) against its false positive rate (1 − specificity) as the decision threshold sweeps from strict to lenient. Each point is one threshold’s (FPR, TPR) trade-off.
Reading it#
Lowering the threshold labels more examples positive, so both TPR and FPR rise — the curve runs from (0, 0) to (1, 1). A curve hugging the upper-left corner (high TPR, low FPR) is excellent; the diagonal line is random guessing; the closer to the top-left, the better the separation.
Why it’s useful#
Because it shows performance at every threshold, the ROC curve reveals the full trade-off between catching positives and raising false alarms — letting you pick an operating point for your costs, rather than being locked to one cutoff. It dates to radar signal detection in the 1940s.
Theme: Classification & Averaging Metrics · All terminology
Hint
Mind map — connected ideas
AUC (Area Under the Curve) · Model Score · ROC-AUC (Receiver Operating Characteristic – Area Under Curve, = AUROC) · Precision–Recall AUC (PR-AUC) · Accuracy · Partial AUC (pAUC)
Hint
More in Classification & Averaging Metrics
Accuracy · AUC (Area Under the Curve) · Average Precision (AP) · Binary Classification · Classification Probability · Discriminatory Power · F1-score · Gini Coefficient · Harmonic Mean · Log Loss (also called Logarithmic Loss or Cross-Entropy Loss) · Macro AUC · Macro AUROC (Macro-Averaged AUROC) · Macro Averaging · Macro F1
See also
Source article Adapted (context, re-expressed) in our own words from: ROC Curve (Receiver Operating Characteristic) (insightful-data-lab.com).