How to encode ordered categorical data? Do they improve model accuracy? What are some other ways to to encode categorical data other than one-hot encoding?
yes, It can help in improving model accuracy/. if you have order in categorical feature.
There are multiple ways to encode categorical feature.
- Label Encoding
- Mean response
- Out of fold mean response
- Take it’s interaction with other variable.
- Convert into frequency feature.
- Hash trick
Are you referring ordered categorical variable as ordinal variable?
Thanks ,Yes i mean ordinal variable. Can you give me a link/example for label encoding and out of fold mean response ?