Random forest in r

random_forest
randomforest

#1

Hi i am trying to run random forest for a classification problem.one of the independent variables is city which includes 4 cities-Mumbai,delhi,bangalore and kolkata.should i make 3 dummies for this or convert into numeric variable?


#2

you have to make this variable factor variable