Enocding of months for machine learning project

Viewed 30

I've been doing a project where I want to use random forest algorithm. There is a column with months, but it is categorical. Was wondering what kind of encoding I should use. I've read that for Random Forest it's not good idea to use OneHotEncoding, when there are more than 10 distinct values. Should I go with LabelEncoding, taking into account that january (1) < february (2) and so on? What would be the impact of that? What would be the impact of using OneHotEncoder in such a case?

0 Answers
Related