seniorAnomaly Detection
AUPRC vs. ROC-AUC for Anomalies.
Updated May 5, 2026
Short answer
AUPRC is better for highly imbalanced data[cite: 1].
Deep explanation
ROC-AUC can look artificially good in imbalanced sets because of the large number of True Negatives. AUPRC focuses purely on the Positive class (anomalies)[cite: 1].
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro