Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gbm-internals

gbm internal functions


Description

Helper functions for preprocessing data prior to building a "gbm" object.

Usage

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.

class.stratify.cv

Whether or not to stratify, if provided by the user.

i.train

Computed internally by gbm.

cv.folds

The number of cross-validation folds.

group

The group, if using distibution = "pairwise".

strat

Whether or not to stratify.

d, distribution

The distribution, either specified by the user or implied.

x

The design matrix.

w

The weights.

n

The number of cores to use in the cluster.

id

The interaction depth.

o

The offset.

Details

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


gbm

Generalized Boosted Regression Models

v2.1.8
GPL (>= 2) | file LICENSE
Authors
Brandon Greenwell [aut, cre] (<https://orcid.org/0000-0002-8120-0084>), Bradley Boehmke [aut] (<https://orcid.org/0000-0002-3611-8516>), Jay Cunningham [aut], GBM Developers [aut] (https://github.com/gbm-developers)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.