Question 62 of 280
Single answerWhile conducting an exploratory analysis of a dataset, you discover that categorical feature A has substantial
predictive power, but it is sometimes missing. What should you do?
ADrop feature A if more than 15% of values are missing. Otherwise, use feature A as-is.
BCompute the mode of feature A and then use it to replace the missing values in feature A.
CReplace the missing values with the values of the feature with the highest Pearson correlation with feature A.
✓DAdd an additional class to categorical feature A for missing values. Create a new binary feature that indicates
whether feature A is missing.
✓
Correct Answer: D
Add an additional class to categorical feature A for missing values. Create a new binary feature that indicates whether feature A is missing.
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Google certification topics.