gbmt_performance estimates the optimal number of boosting
iterations from a model fit by gbmt. The precise
method used depends on the method parameter.
Arguments
- gbm_fit_obj
a
GBMFitcreated from an initial call togbmt.- method
indicate the method used to estimate the optimal number of boosting iterations.
method="OOB"computes the out-of-bag estimate andmethod="test"uses the test (or validation) dataset to compute an out-of-sample estimate.method="cv"extracts the optimal number of iterations using cross-validation ifgbmtwas called withcv_folds>1.