MLS-C01 · Question #189
A machine learning specialist is developing a regression model to predict rental rates from rental listings. A variable named Wall_Color represents the most prominent exterior wall color of the proper
Sign in or unlock MLS-C01 to reveal the answer and full explanation for question #189. The question stem and answer options stay visible for context.
Question
A machine learning specialist is developing a regression model to predict rental rates from rental listings. A variable named Wall_Color represents the most prominent exterior wall color of the property. The following is the sample data, excluding all other variables:
The specialist chose a model that needs numerical input data. Which feature engineering approaches should the specialist use to allow the regression model to learn from the Wall_Color data? (Choose two.)
Options
- AApply integer transformation and set Red = 1, White = 5, and Green = 10.
- BAdd new columns that store one-hot representation of colors.
- CReplace the color name string by its length.
- DCreate three columns to encode the color in RGB format.
- EReplace each color name by its training set frequency.
Unlock MLS-C01 to see the answer
You've previewed enough free MLS-C01 questions. Unlock MLS-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.