Learn R Programming

UBL (version 0.0.9)

predict,BagModel-method: Predicting on new data with a BagModel model

Description

This is a predict method for predicting new test points using a BagModel class object - refering to an ensemble of weak models whose type is selected by the user.

Usage

# S4 method for BagModel
predict(object, newdata)

Value

predictions produced by a BagModel model.

Arguments

object

A BagModel-class object.

newdata

New test data to predict using a BagModel object.

See Also

BagModel-class for details about the bagging model.