predict.boosted {DidacticBoost}R Documentation

Model Predictions

Description

Apply a fitted boosted model to newdata to form predictions. If no newdata is included, returned the fitted values of the model.

Usage

## S3 method for class 'boosted'
predict(object, newdata = NULL, ...)

Arguments

object

a boosted model returned from fitBoosted

newdata

the new independent variables to use for prediction. This should be a data frame.

...

additional arguments affecting the predictions produced (ignored).

Value

predict.boosted produces a numeric vector with the predicted classes from the boosted model.


[Package DidacticBoost version 0.1.1 Index]