shrink.gbm.pred: Predictions from a shrunken GBM

Description Usage Arguments Value Warning Author(s) See Also

View source: R/shrink.gbm.pred.R

Description

Makes predictions from a shrunken GBM model.

Usage

1
2
3
4
5
shrink.gbm.pred(object, 
                newdata, 
                n.trees, 
                lambda = rep(1, length(object$var.names)), 
                ...)

Arguments

object

a gbm.object

newdata

dataset for predictions

n.trees

the number of trees to use

lambda

a vector with length equal to the number of variables containing the shrinkage parameter for each variable

...

other parameters (ignored)

Value

A vector with length equal to the number of observations in newdata containing the predictions

Warning

This function is experimental

Author(s)

Greg Ridgeway gregridgeway@gmail.com

See Also

shrink.gbm, gbm


DexGroves/gbm-lrd documentation built on May 6, 2019, 1:35 p.m.