Asked about Choosing the metric that matches the cost of being wrong
Why can ROC AUC mislead on imbalanced data?
An answer that works
It includes the true negative rate, and with overwhelming negatives that stays high regardless, flattering the score. Precision-recall AUC ignores true negatives and is the honest summary when positives are rare.
Reading an answer is not being able to give one. The section that teaches this is Choosing the metric that matches the cost of being wrong, 5 hours of Model evaluation & metrics.
Learn this properlyAlso asked about Model evaluation & metrics
When would you optimise for recall over precision?What is data leakage and how does it happen?How do you choose a classification threshold?When would you use RMSE rather than MAE?Why can MAPE be misleading?When would you use macro F1 instead of accuracy?You are building a model to flag possibly fraudulent insurance claims for investigation. Which metric do you optimise?