Exit 24 / 40

Question 24

Domain 2: Data Processing

A data scientist is preparing a dataset that includes a nominal feature with categories such as red, blue, and green. For which type of model is one-hot encoding generally the most appropriate choice?