Ordinal and One-Hot Encodings for Categorical Data

Machine learning models require all input and output variables to be numeric. This means that if your data contains categorical data, you must encode it to numbers before you can fit and evaluate a model. The two most popular techniques are an Ordinal Encoding and a One-Hot Encoding. In this tutorial, you will discover how […]

The post Ordinal and One-Hot Encodings for Categorical Data appeared first on Machine Learning Mastery.

Comments