PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #163
PROFESSIONAL-MACHINE-LEARNING-ENGINEER Question #163: Real Exam Question with Answer & Explanation
Sign in or unlock PROFESSIONAL-MACHINE-LEARNING-ENGINEER to reveal the answer and full explanation for question #163. The question stem and answer options stay visible for context.
Question
You are developing an ML model using a dataset with categorical input variables. You have randomly split half of the data into training and test sets. After applying one-hot encoding on the categorical variables in the training set, you discover that one categorical variable is missing from the test set. What should you do?
Options
- AUse sparse representation in the test set.
- BRandomly redistribute the data, with 70% for the training set and 30% for the test set
- CApply one-hot encoding on the categorical variables in the test data
- DCollect more data representing all categories
Unlock PROFESSIONAL-MACHINE-LEARNING-ENGINEER to see the answer
You've previewed enough free PROFESSIONAL-MACHINE-LEARNING-ENGINEER questions. Unlock PROFESSIONAL-MACHINE-LEARNING-ENGINEER 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.