For a binary classifier, which metric is typically most appropriate when you care about ranking positive instances above negatives and class imbalance is present?
Answer
ROC-AUC, Precision at a fixed recall threshold (or PR-AUC)
Explanation
ROC-AUC measures ranking quality across thresholds and is often used with imbalance, though PR-AUC/precision-focused metrics can be more sensitive when positives are rare. Accuracy and MSE are less directly tied to ranking performance for classification.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A student claims that label encoding always improves model quality for tree-based models. What is the best response?
View question →
In AWS SageMaker, which action is required to enable automatic hyperparameter tuning jobs for a given training algorithm container?
View question →
Which data split strategy helps reduce target leakage when you have time-ordered data (e.g., events over days)?
View question →
When performing batch predictions with SageMaker, which workflow is correct?
View question →
In SageMaker hosting, what is the purpose of using an inference endpoint rather than calling a training job artifact directly?
View question →
A team wants to train and deploy an ML model that uses a pre-trained foundation model. Which AWS service is most appropriate for building, training, and deploying generative AI models with managed workflows?
View question →