| head.DFNET.forest | R Documentation |
Returns the first (= oldest) trees in the forest. The number of trees to
keep is determined by multiplying the number of generations with the
generation size of the forest (the ntrees parameter)
in train.
## S3 method for class 'DFNET.forest' head(x, n.generations = 6L, ...)
x |
The original |
n.generations |
integer. The number of generations to keep. |
... |
arguments to be passed to or from other methods. |
This function should not be used to retrain the forest from an earlier
branch. It does not return last.performance and may return a wrong
value for walk.depth.
The first n.generations generations worth of modules
and trees.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.