Calculate predictions from cross validated generalized boosting model from gbm2.
# S3 method for GBMCVFit
predict(object, gbm_data_obj, cv_folds, cv_group, best_iter_cv, ...)
a matrix of predictions for each cv fold.
a GBMCVFit object containing CV gbm models
a GBMData object containing all of the data used to fit a gbm model.
a positive integer specifying the number of folds to be used in cross-validation of the gbm fit.
vector of integers specifying which row of data belongs to which cv_fold.
number of trees with the smallest cv error
not currently used
James Hickey