Makes predictions from a shrunken GBM model.

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

`object` |
a |

`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) |

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

This function is experimental

Greg Ridgeway gregridgeway@gmail.com

`shrink.gbm`

, `gbm`

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.