Published onFebruary 2, 2022Encoding Categorical features for Machine Learningmachine-learningencodingpythondata-processingdata-sciencecomputer-scienceThere are two common ways to encode categorical features. We can use Ordinal Encoding or we can use One Hot Encoding. Let's explore when you should use Ordinal encoding and when to use One hot encoding in this post.