Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

What does one-hot encoding do to a categorical variable?

  1. A Creates a binary indicator column for each category
  2. B Assigns each category an integer rank
  3. C Removes the column
  4. D Scales the categories to a range
Answer

Creates a binary indicator column for each category

It is unsuitable for very high cardinality, where it creates thousands of sparse columns. Target encoding is the usual alternative.

All Machine Learning MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as