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

predict,BagModel-methodR Documentation

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 signature 'BagModel'
predict(object, newdata)

Arguments

object

A BagModel-class object.

newdata

New test data to predict using a BagModel object.

Value

predictions produced by a BagModel model.

See Also

BagModel-class for details about the bagging model.


UBL documentation built on Oct. 8, 2023, 1:07 a.m.