QUESTION 3 OF 15

How do you encode nominal categorical variables?

Reveal the answer and explore the explanation.

03
EasyCore

How do you encode nominal categorical variables?

Answer
Answer

Represents categories with indicator columns.

Practical example

Convert unordered color labels into numeric features.

Reference: Further reading ↗

Last 30 min revisionHigh-yield interview Q&As