Description Usage Arguments See Also Examples
Compute the relative influence of each variable in the model
1 2 |
object |
a gbdt object, from fit.gbdt |
n.trees |
number of trees used in the computation. |
... |
passed to |
summary.gbm
in package gbm
1 2 3 4 5 6 7 8 | data(sirena)
m <- fit.gbdt(x=sirena, n.trees=3, shrinkage=0.01, interaction.depth=1,
n.cores=1)
# NB: The arguments values are caricatural here for the example to run
# quickly enough and because the data is easy.
# NB: n.cores = 1 is necessary for examples to run on all machines. Feel
# free to remove it and use more cores on your machine.
summary(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.