nerdexam
Microsoft

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.

Design and prepare a machine learning solution

Question

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 ways to achieve this goal? Each correct answer presents a complete solution NOTE: Each correct selection is worth one point.

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)
  • A
    9% (3)
  • B
    88% (28)
  • E
    3% (1)

Why each option

The question asks for three possible ways to resolve data imbalance in a binary classification training set.

APenalize the classification

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.

BResample the data set using under sampling or oversamplingCorrect

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.

CGenerate synthetic samples in the minority class.Correct

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.

DUse accuracy as the evaluation metric of the model.Correct

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.

ENormalize the training feature set.

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

#Data Imbalance#Classification#Resampling#Synthetic Data

Community Discussion

No community discussion yet for this question.

Full DP-100 Practice