Prunes each tree in the list forest$Trees according to the provided complexity parameter. Returns a new forest.
A model returned by splineForest()
The complexity parameter that will be used to prune each tree (see rpart package documentation for detailed description of complexity parameter)
A new spline forest model (named list) where each tree has been pruned to the desired level.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.