predict-BagModel-method function

Predicting on new data with a BagModel model

Predicting on new data with a BagModel model

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. methods

## S4 method for signature 'BagModel' predict(object, newdata)

Arguments

  • object: A BagModel-class object.
  • newdata: New test data to predict using a BagModel object.

Returns

predictions produced by a BagModel model.

See Also

BagModel-class for details about the bagging model.

  • Maintainer: Paula Branco
  • License: GPL (>= 2)
  • Last published: 2023-10-07