Graph
Area Under the Curve

📈Area Under the Curve

NEW

Metric summarizing classifier performance by integrating a ROC or precision–recall curve across thresholds.

DESCRIPTION

AUC aggregates binary classifier performance across all decision thresholds, avoiding reliance on a single cutoff. ROC AUC measures separability by plotting true positive rate against false positive rate, while PR AUC focuses on precision and recall. In imbalanced settings, PR AUC and Average Precision are often more informative than ROC AUC. AUC is threshold-invariant but can mask calibration issues or business costs. It is widely used for model selection, benchmarking, and monitoring.

ALTERNATIVE DEFINITIONS

Wikipedia

The area under the ROC curve (AUC) is equal to the probability that a classifier will rank a randomly chosen positive instance higher than a randomly chosen negative one.

Interprets AUC as a probabilistic ranking measure.

Source

Google Developers

AUC provides an aggregate measure of performance across all classification thresholds.

Highlights threshold-invariant aggregation of performance.

Source

scikit-learn

Compute the area under the receiver operating characteristic curve (ROC AUC) from prediction scores.

Defines the computation within a widely used ML library.

Source

ROC Curve Precision-Recall Curve F1 Score Accuracy Log Loss Confusion Matrix Threshold Tuning Calibration Curve Sensitivity and Specificity

COMPETING TERMS

Precision-Recall AUC

RELATIONS

KNOWLEDGE AREAS

AI Data Science Testing & Validation Mathematics

TARGET AUDIENCE

Data Scientist AI Engineer MLOps Engineer BI Specialist Data Analyst

EXTERNAL SOURCES

TOP QUESTIONS

When should I prefer PR AUC over ROC AUC for Area Under the Curve?

For highly imbalanced datasets, PR AUC better reflects performance on the positive class. ROC AUC can look optimistic when negative examples dominate.

Category: Best practices

What is the probabilistic interpretation of AUC?

AUC equals the probability a random positive is ranked above a random negative. It measures ranking quality rather than absolute probabilities.

Category: Definition

Why is AUC threshold-invariant?

AUC integrates performance across all thresholds, so it avoids dependence on any single decision point—useful for model comparison.

Category: Relevancy

What are common pitfalls with AUC?

AUC ignores calibration, costs, and specific operating points. It may hide poor performance in regions that matter to the business.

Category: Mistakes

How does AUC relate to Accuracy?

Accuracy depends on a chosen threshold and class balance, while AUC summarizes ranking performance independent of a threshold.

Category: Comparison

Can AUC be used for multiclass problems?

Yes, via one-vs-rest or one-vs-one averaging, but interpretability and class imbalance considerations become more complex.

Category: Example

Is a higher AUC always better?

Generally yes, but context matters. Calibration, fairness, and cost-sensitive performance may require other metrics to select a model.

Category: Opinion

How can I monitor AUC in production?

Log scores and labels, compute AUC over rolling windows, and alert on significant drops indicating drift or data issues.

Category: Observability

What is a hot topic around AUC?

Shift to domain-specific metrics (e.g., recall@precision) and cost curves for better decision alignment in production.

Category: Topic