List of questions
Related questions
Question 139 - Professional Machine Learning Engineer discussion
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?
A.
Randomly redistribute the data, with 70% for the training set and 30% for the test set
B.
Use sparse representation in the test set
C.
Apply one-hot encoding on the categorical variables in the test data.
D.
Collect more data representing all categories
Your answer:
0 comments
Sorted by
Leave a comment first