Question
What does OneHotEncoder produce?
Select an option. Your answer will be checked instantly.
Correct Answer: B. A sparse binary vector representing categorical levels
Explanation:
One-hot encoding avoids imposing arbitrary numeric order on categories.
Sparse storage is efficient when there are many levels.
Leave a Reply