Rpart.control to avoid overfitting


Hi All,

Good Morning. I would like to know how to choose cp and minsplit parameter in rpart in r and is there any other techniques to avoid overfitting .

Thank you


Hi @nagu2487,

I have nil experience with R but from a simple google search I found this

Hope you find it helpful!


Thank you jalFazy.