Machine Learning & Training

What Is One-Hot Encoding?

One-hot encoding is a method for representing categorical variables as binary vectors. Each category becomes a separate column that is set to one when present and zero otherwise. This allows machine learning models that require numeric input to work with categorical data without implying an ordering.

Further reading

Read more about one-hot encoding — articles and blogs from around the web: