For building a classification model, I am trying to select the most important features from the data set.
My data contains mixed attributes ( numerical and categorical).
I am planning to apply (importance or varImp) functions in R after applying Random forest to select features from the data to improve the accuracy of my model.
My question is: Can I apply Random forest directly on the data without transformation step or I have to convert categorical attributes into binary (0,1)
I have applied Random forest with importance / varImp functions on a numeric dataset, the model works fine, but I am not sure about mixed data.