MLS-C01 · Question #63
A Machine Learning Engineer is preparing a data frame for a supervised learning task with the Amazon SageMaker Linear Learner algorithm. The ML Engineer notices the target label classes are highly…
The correct answer is D. For each feature, approximate the missing values using supervised learning based on other. Use supervised learning to predict missing values based on the values of other features. Different supervised learning approaches might have different performances, but any properly supervised learning approach should provide the same or better approximation than mean or median…
Question
A Machine Learning Engineer is preparing a data frame for a supervised learning task with the Amazon SageMaker Linear Learner algorithm. The ML Engineer notices the target label classes are highly imbalanced and multiple feature columns contain missing values. The proportion of missing values across the entire data frame is less than 5%. What should the ML Engineer do to minimize bias due to missing values?
Options
- AReplace each missing value by the mean or median across non-missing values in same row.
- BDelete observations that contain missing values because these represent less than 5% of the
- CReplace each missing value by the mean or median across non-missing values in the same
- DFor each feature, approximate the missing values using supervised learning based on other
How the community answered
(19 responses)- A11% (2)
- B5% (1)
- C5% (1)
- D79% (15)
Explanation
Use supervised learning to predict missing values based on the values of other features. Different supervised learning approaches might have different performances, but any properly supervised learning approach should provide the same or better approximation than mean or median approximation, as proposed in responses A and C. Supervised learning applied to the missing values is an active field of research.
Topics
Community Discussion
No community discussion yet for this question.