Pages

Tuesday, September 16, 2014

Tuning and training a model

control=optional parameters for controlling tree growth. For example, control=rpart.control(minsplit=30, cp=0.001) requires that the minimum number of observations in a node be 30 before attempting a split and that a split must decrease the overall lack of fit by a factor of 0.001 (cost complexity factor) before being attempted.
http://www.inside-r.org/node/87027

No comments:

Post a Comment