Graph
AUC

šŸ“AUC

NEW

Also known as: Area Under Curve, Area Under ROC Curve

Metric measuring separability of classes as the area under the ROC curve across thresholds.

DESCRIPTION

AUC quantifies classification performance by integrating true positive rate versus false positive rate over all thresholds. It is threshold-independent and robust to class imbalance compared to accuracy. AUC values range from 0.0 to 1.0, with 0.5 indicating random performance. Precision–Recall AUC is preferred for highly imbalanced datasets. Proper use requires calibrated scores and careful interpretation.

ALTERNATIVE DEFINITIONS

Google Developers

AUC stands for ā€˜Area under the ROC Curve’. AUC measures the entire two-dimensional area underneath the entire ROC curve from (0,0) to (1,1).

Emphasizes geometric interpretation across thresholds.

Source

scikit-learn

ROC AUC is the area under the ROC curve; it measures the ability of the classifier to rank positive instances higher than negative ones.

Connects AUC to ranking quality of scores.

Source

ROC Curve Accuracy Recall False Positive Rate Threshold Calibration

COMPETING TERMS

Precision-Recall AUC F1 Score

RELATIONS

KNOWLEDGE AREAS

Mathematics Data Science Testing & Validation

TARGET AUDIENCE

Data Scientist Data Analyst BI Specialist MLOps Engineer

EXTERNAL SOURCES

TOP QUESTIONS

When should AUC be used?

Use AUC for evaluating probabilistic binary classifiers, especially when threshold selection varies or class distribution is imbalanced.

Category: UseCases

What is a good AUC value?

Values closer to 1.0 are better; 0.5 indicates random guessing. Context and domain determine acceptable thresholds.

Category: Interpretation

What are common mistakes with AUC?

Using AUC for non-probabilistic outputs, ignoring calibration, or comparing AUC across different class distributions without care.

Category: Mistakes

What risks arise when relying solely on AUC?

AUC can hide poor precision at relevant thresholds; PR AUC may be more informative in highly imbalanced settings.

Category: Risk

What competes with AUC?

Precision–Recall AUC, F1 score, and calibration metrics offer complementary perspectives on model performance.

Category: Alternatives

How to compute AUC?

Plot TPR vs FPR across thresholds and integrate; libraries like scikit-learn provide reliable implementations.

Category: Method

How does AUC handle class imbalance?

AUC is threshold-independent but may still be misleading; PR AUC often better reflects performance on rare positives.

Category: Difference

How to improve AUC?

Enhance features, calibrate outputs, tune hyperparameters, and consider ensembling.

Category: BestPractice

Where to start learning about AUC?

Study ROC concepts, compute AUC using scikit-learn, and compare with PR AUC on imbalanced datasets.

Category: GettingStarted