A model must be trained on highly imbalanced data while minimizing false negatives for a minority class. Which training-time configuration most directly addresses this imbalance in SageMaker?

Answer

Use class-weighted loss (e.g., weighted cross-entropy) during training, Oversample the minority class by duplicating rows before feature processing, then use unweighted loss

Explanation

Class weighting and resampling change the optimization objective toward the minority class, directly impacting false negatives. Changing thresholds alone affects decisions post-training rather than learning the right representation.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list