Helper functions for preprocessing data prior to building a "gbm"
object.
guessDist(y)getCVgroup(distribution, class.stratify.cv, y, i.train, cv.folds, group)
getStratify(strat, d)
checkMissing(x, y)
checkWeights(w, n)
checkID(id)
checkOffset(o, y)
getVarNames(x)
gbmCluster(n)
The response variable.
Whether or not to stratify, if provided by the user.
Computed internally by gbm
.
The number of cross-validation folds.
The group, if using distibution = "pairwise"
.
Whether or not to stratify.
The distribution, either specified by the user or implied.
The design matrix.
The weights.
The number of cores to use in the cluster.
The interaction depth.
The offset.
These are functions used internally by gbm
and not intended for direct
use by the user.