A dataset has severe label imbalance and you train with standard cross-entropy. Which change most effectively targets minority-class recall without greatly inflating false positives?

Answer

Use class-weighted loss or focal loss and validate using PR-AUC or F-beta suited to recall

Explanation

Class-weighting/focal loss adjusts the learning signal toward minority errors. Evaluating with PR-focused metrics aligns model selection with the recall–precision tradeoff.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list