predict.boosted: Model Predictions

Description Usage Arguments Value

View source: R/Main.R

Description

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

Usage

1
2
## 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.


DidacticBoost documentation built on May 2, 2019, 9:20 a.m.