A model’s performance varies significantly across classes. Which strategy best aligns with addressing class imbalance in training?

Answer

Use balanced sampling or class-weighted loss

Explanation

Balanced sampling and class-weighted losses encourage the model to learn minority classes rather than favor majority classes. This usually improves metrics sensitive to imbalance.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list