Get optimal number of trees for prediction from gbm fit
1 2 3 4 5 6 7 | gbm.perf.noprint(
object,
plot.it = FALSE,
oobag.curve = FALSE,
overlay = TRUE,
method
)
|
object |
a gbm fit object |
plot.it |
boolean to specify if optimal sequence should be printed |
oobag.curve |
boolean to specify if curve should be made from out of bag samples |
overlay |
boolean to specify if overlay should be applied |
method |
method of the gbm fit |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.