View source: R/regressionComponents.R
This response combiner is used in regression random forests, where the
response in the data is a single number that needs to be averaged in each
terminal node, and then averaged across trees. This response combiner is
appropriate as an argument for both the nodeResponseCombiner
and
forestResponseCombiner
parameters in train
when doing
regression.
1 |
1 2 | responseCombiner <- MeanResponseCombiner()
# You would then use it in train()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.