gbm-internal: gbm internal functions

Description Usage Arguments Details

Description

Helper functions for preprocessing data prior to building the model

Usage

1
2
3
4
5
6
7
8
9
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)

Arguments

y

The response variable

d, distribution

The distribution, either specified by the user or implied

class.stratify.cv

Whether or not to stratify, if provided by the user

i.train

Computed internally by gbm

group

The group, if using distibution='pairwise'

strat

Whether or not to stratify

cv.folds

The number of cross-validation folds

x

The design matrix

id

The interaction depth

w

The weights

n

The number of cores to use in the cluster.

o

The offset

Details

These are functions used internally by gbm and not intended for direct use by the user.


gbm documentation built on May 30, 2017, 4:38 a.m.

Search within the gbm package
Search all R packages, documentation and source code