powered by
A tree is grown by binary recursive partitioning using the response in the specified formula and choosing splits from the terms of the right-hand-side.
TreeModel( mincut = 5, minsize = 10, mindev = 0.01, split = c("deviance", "gini") )
minimum number of observations to include in either child node.
smallest allowed node size: a weighted quantity.
within-node deviance must be at least this times that of the root node for the node to be split.
splitting criterion to use.
MLModel class object.
MLModel
factor, numeric
factor
numeric
Further model details can be found in the source link below.
tree, fit, resample
tree
fit
resample
# NOT RUN { fit(Species ~ ., data = iris, model = TreeModel) # }
Run the code above in your browser using DataLab