nerdexam
Amazon

MLA-C01 · Question #222

An ML engineer is building a logistic regression model to predict customer churn for subscription services. The ML engineer is using a dataset that contains two string variables: location and job_seni

Sign in or unlock MLA-C01 to reveal the answer and full explanation for question #222. The question stem and answer options stay visible for context.

Data Preparation for Machine Learning

Question

An ML engineer is building a logistic regression model to predict customer churn for subscription services. The ML engineer is using a dataset that contains two string variables: location and job_seniority_level. The location variable has 3 distinct values, and the job_seniority_level variable has over 10 distinct values. The ML engineer must perform preprocessing on the variables. Which solution will meet this requirement?

Options

  • AApply tokenization to location. Apply ordinal encoding to job_seniority_level.
  • BApply one-hot encoding to location. Apply ordinal encoding to job_seniority_level
  • CApply binning to location. Apply standard scaling to job_seniority_level.
  • DApply one-hot encoding to location. Apply standard scaling to job_seniority_level.

Unlock MLA-C01 to see the answer

You've previewed enough free MLA-C01 questions. Unlock MLA-C01 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Data Preprocessing#Categorical Encoding#One-Hot Encoding#Ordinal Encoding
Full MLA-C01 Practice