Description Usage Arguments Details Value Author(s)
Predicted values based on a gradient boosted trees object
1 2 3 4 5 |
object |
Object of class inheriting from ( |
newdata |
Data frame of observations for which to make predictions |
n.trees |
Number of trees used in the prediction. |
... |
further arguments passed to or from other methods |
predict.gbt
produces predicted values for each observation in newdata
using the the first n.trees
iterations of the boosting sequence.
The user has the responsibility to make
sure that newdata
is of the same format (order and number of variables)
as the one originally used to fit the model.
Returns a vector of predictions. By default the predictions are on the scale of f(x). For example, for the binomial deviance loss the returned value is on the log odds scale.
Alexandre Michelis <alexandremichelis@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.