QuestionQ38

VerifiedData Processing

A data scientist is working with a feature set that has the following schema:

Question Image

The customer_id column is the feature set's primary key. Every column in the feature set contains missing values. The data scientist wants to replace those missing values by imputing a common value for each feature.

Which option lists all columns in the feature set that must be imputed with that column's most common value?

Explanation

Categorical data is imputed using the most frequent value in its column. loyalty_tier is the categorical column; spend and units are numeric columns, and customer_id is a primary-key identifier that should not be imputed. AWS SageMaker Data Wrangler documents mean or median imputation for numeric data and most-frequent-value imputation for categorical data.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!