0

What is the default loss criterion that CARET's random forest uses for classification (e.g. gini, entropy, log-loss)?

In scikit-learn, gini is the default loss function of the random forest (source). However, I cannot find what the default loss function is for CARET's random forest. I checked the CARET source code and documentation, but could not find a clear answer there. Any suggestions would be really helpful.

Thanks!

E. Turok
  • 106
  • 1
  • 7
  • 2
    Are you doing a regression or classification? It's easier to help you if you include a simple [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) with sample input that can be used to test and verify possible answers and make it clear exactly how you are calling the function. – MrFlick Jul 24 '23 at 18:33
  • 1
    I suspect that you might be more likely to find someone who knows this on [STATS.SE] instead – divibisan Jul 24 '23 at 18:48

0 Answers0