Prune each of the trees returned by
## S3 method for class 'classbagg' prune(tree, cp=0.01,...)
an object returned by
complexity parameter, see
additional arguments to
bagging grows classification
trees of maximal size. One may want to prune each tree, however,
it is not clear whether or not this may decrease prediction error.
An object of the same class as
tree with the trees pruned.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.