Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
Explain the concept of one-hot encoding and its limitations in the context of high-cardinality categorical features. Discuss an alternative encoding method that can be more efficient for such features.
A
One-hot encoding creates binary variables for each category, which can lead to high dimensionality and sparse data.
B
One-hot encoding is efficient for all types of categorical features, including high-cardinality features.
C
One-hot encoding should not be used for categorical features.
D
One-hot encoding is only suitable for low-cardinality categorical features.