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.
# S4 method for BagModel
predict(object, newdata)
predictions produced by a BagModel
model.
A BagModel-class object.
New test data to predict using a BagModel
object.
BagModel-class
for details about the bagging model.