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?
Select an option, then click Submit answer.
- ○ Apply tokenization to location. Apply ordinal encoding to job_seniority_level.
- ○ Apply one-hot encoding to location. Apply ordinal encoding to job_seniority_level
- ○ Apply binning to location. Apply standard scaling to job_seniority_level.
- ○ Apply one-hot encoding to location. Apply standard scaling to job_seniority_level.