Categorical Features: What’s Wrong With Label Encoding?
Why we can’t arbitrarily encode categorical features
Published in
10 min readNov 20, 2023
It’s well known that many machine learning models can’t process categorical features natively. While there are some exceptions, it’s usually up to the practitioner to decide on a numeric representation of each categorical feature. There are many ways to accomplish this, but one…