MLA-C01 exam dumps

MLA-C01 practice question 58 of 458

AWS Certified Machine Learning Engineer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

MLA-C01 Question 58

Single answer

You are building a machine learning model to predict customer churn using a dataset with both numerical and categorical features. One of the numerical features, 'MonthlyCharges', has a highly skewed distribution with extreme outliers. Which feature engineering technique is most appropriate to handle this issue before training the model?

  1. A

    Apply one-hot encoding to the 'MonthlyCharges' feature.

  2. B

    Perform log transformation on the 'MonthlyCharges' feature.

  3. C

    Scale the 'MonthlyCharges' feature using min-max normalization.

  4. D

    Split the 'MonthlyCharges' feature into bins using equal-width binning.

Show answer and explanation

Correct answer: B

Explanation

The 'MonthlyCharges' feature has a highly skewed distribution with extreme outliers, which can negatively impact the performance of many machine learning algorithms. Log transformation is a common feature engineering technique to reduce skewness and make the data more normally distributed, which improves model performance. Other techniques such as one-hot encoding, normalization, or binning are not suitable for addressing skewness in numerical data.

  • A. Incorrect.

    One-hot encoding is used for categorical variables, not numerical features like 'MonthlyCharges'.

  • B. Correct.

    Log transformation is effective for reducing skewness in numerical data and can help handle outliers, making it the most appropriate choice in this scenario.

  • C. Incorrect.

    Min-max normalization scales the data within a specific range but does not address skewness or outliers.

  • D. Incorrect.

    Binning can help group values into ranges but does not address the skewness of the feature distribution.

Timed practice exam

Take a MLA-C01 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam