Q.

Let’s say, you are working with categorical feature(s) and you have not looked at the distribution of the categorical variable in the test data.

You want to apply one hot encoding (OHE) on the categorical feature(s). What challenges you may face if you have applied OHE on a categorical variable of train dataset?

A. All categories of categorical variable are not present in the test dataset.
B. Frequency distribution of categories is different in train as compared to the test dataset.
C. Train and Test always have same distribution.
D. Both A and B
Answer» D. Both A and B
2.5k
0
Do you find this helpful?
22

View all MCQs in

Machine Learning (ML)

Discussion

No comments yet

Related MCQs