0
$\begingroup$

I want to use cross-validation method for Random forest and compare the performance with other algorithms in the same condition. I heard from somebody that Random forest does not need cross-validation. But, I want to use cross validation for Random forest because I want to give the same condition with other algorithms.

If I set oob_score = FALSE in Random forest setting, can I use cross-validation for random forest? What is the simplest method to use cross-validation method for random forest?

$\endgroup$
1
  • $\begingroup$ Welcome to DataScienceSE. You can perfectly use CV on top of random forest, and for the purpose of comparing with other algorithms you should indeed use the same methodology. The fact that it's not needed doesn't mean that it would cause any issue. $\endgroup$
    – Erwan
    Aug 17 at 15:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.