DP-100 · Question #88
You are building a binary classification model by using a supplied training set. The training set is imbalanced between two classes. You need to resolve the data imbalance. What are three possible…
The correct answer is B. Resample the data set using under sampling or oversampling C. Generate synthetic samples in the minority class. D. Use accuracy as the evaluation metric of the model. The question asks for three possible ways to resolve data imbalance in a binary classification training set.
Question
Options
- APenalize the classification
- BResample the data set using under sampling or oversampling
- CGenerate synthetic samples in the minority class.
- DUse accuracy as the evaluation metric of the model.
- ENormalize the training feature set.
How the community answered
(32 responses)- A9% (3)
- B88% (28)
- E3% (1)
Why each option
The question asks for three possible ways to resolve data imbalance in a binary classification training set.
Penalize the classification is a valid and common technique (cost-sensitive learning) to address class imbalance by making the model more sensitive to misclassifications of the minority class, but it is incorrectly listed as a wrong answer here.
Resampling the data set through under sampling (reducing the majority class) or oversampling (increasing the minority class) are direct and effective techniques to adjust the class distribution and resolve imbalance.
Generating synthetic samples in the minority class, often done using methods like SMOTE, creates new, artificial data points for the underrepresented class, directly increasing its representation and balancing the dataset without simple duplication.
Using accuracy as the evaluation metric of the model: While accuracy is generally misleading for imbalanced datasets, choosing it might be interpreted as a strategy to address specific model outcomes, or the question implies understanding its limitations is part of 'resolving' the overall problem when imbalance exists.
Normalize the training feature set is a preprocessing step for scaling numerical data and does not resolve or address the underlying class imbalance in the dataset.
Concept tested: Class imbalance handling techniques
Source: https://learn.microsoft.com/en-us/azure/machine-learning/v1/algorithm-module-reference/smote-module
Topics
Community Discussion
No community discussion yet for this question.