Learn R Programming

erboost (version 1.0)

shrink.erboost.pred: Predictions from a shrunked erboost

Description

Makes predictions from a shrunken erboost model.

Usage

shrink.erboost.pred(object, 
                newdata, 
                n.trees, 
                lambda = rep(1, length(object$var.names)), 
                ...)

Arguments

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

See Also

shrink.erboost, erboost