When should you use PR-AUC instead of ROC-AUC?
medium- Use PR-AUC when the positive class is rare (heavy imbalance).
- ROC-AUC can look optimistic on imbalanced data because the true-negative rate dominates the false-positive rate.
- PR-AUC only involves the positive class (precision and recall), so it reflects real performance on the minority class.