Databricks Certified Machine Learning Associate — Question 21
What is the name of the method that transforms categorical features into a series of binary indicator feature variables?
Answer options
- A. Leave-one-out encoding
- B. Target encoding
- C. One-hot encoding
- D. Categorical embeddings
- E. String indexing
Correct answer: C
Explanation
The correct answer is C, One-hot encoding, as it specifically refers to the process of creating binary columns for each category in a categorical variable. The other options represent different encoding or transformation methods that do not produce binary indicator variables in the same manner as one-hot encoding.