Get optimal number of trees for prediction from gbm fit

gbm.perf.noprint(
  object,
  plot.it = FALSE,
  oobag.curve = FALSE,
  overlay = TRUE,
  method
)

Arguments

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