A model is trained on a dataset with class imbalance and you observe that maximizing accuracy selects a threshold that yields very low recall for the minority class. What is the most direct remedy?

Answer

Tune the decision threshold to optimize a metric aligned to business needs (e.g., recall, Fβ, PR-AUC) on a validation set

Explanation

Accuracy is insensitive to imbalance; threshold tuning guided by the target metric aligns decisions with desired minority-class performance.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list