An ML engineer is inspecting a classification dataset before training a model in Amazon SageMaker and suspects a large class-label imbalance that could bias the model. Which pre-training metric should the engineer use to confirm class imbalance?
Choose an answer
Tap an option to check your answer.
Correct answer: Difference in proportions of labels (DPL).
Why this is the answer
The Difference in Proportions of Labels (DPL) is the correct metric because it directly quantifies class imbalance by measuring the difference in the proportion of samples belonging to different classes. A large DPL value indicates a significant imbalance, which can lead to biased models that perform poorly on minority classes. Mean Squared Error (MSE) is a regression metric, not suitable for classification or imbalance detection. Silhouette score is used for evaluating clustering algorithms. Structural Similarity Index Measure (SSIM) is used for measuring the similarity between two images.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed