tail.DFNET.forest | R Documentation |
Returns the last (= newest) 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' tail(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 can be used to shrink the forest while training (since only the last generation will be used anyway).
The last 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.