Which technique is most appropriate when you need to ensure correct model behavior under class imbalance for a binary classifier?
Answer
Use class weights or resampling to address imbalance
Explanation
Class imbalance can bias training; weighting or resampling helps the model learn minority patterns. Accuracy alone can be misleading, so it’s not the best technique here.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
In AWS SageMaker, which combination best describes what AutoPilot does when given training data and an objective?
View question →
You want to implement feature transformations on tabular data before model training. Which approach is best aligned with SageMaker feature processing?
View question →
Which AWS service is most directly used to train and host custom ML models with managed infrastructure, including options for built-in algorithms and custom containers?
View question →
A model requires frequent retraining and evaluation against a fresh dataset. Which pipeline pattern is most appropriate using AWS ML services?
View question →
Which set of actions best supports safe experiment tracking for ML training in SageMaker?
View question →
If you must publish and reuse a trained model across multiple teams and environments, what capability in SageMaker best helps manage model versions and deployment readiness?
View question →