predict.logicBagg {logicFS}R Documentation

Predict Method for logicBagg objects

Description

Prediction of test data Using an object of class logicBagg.

Usage

## S3 method for class 'logicBagg':
predict(object, newData, prob.case = 0.5, ...)

Arguments

object an object of class logicBagg.
newData a matrix containing new data. If omitted object\$data, i.e. the original training data, are used. Each row of newData must correspond to a new observation. newData must have the same number of columns as object\$data, and the order of the variables must be same in both matrices. Warning: Currently, there will be no checking if the latter is TRUE.
prob.case a numeric value between 0 and 1. If the outcome of the logistic regression, i.e. the predicted probability, for an observation is larger than prob.case this observations will be classified as case (or 1).
... Ignored.

Value

A numeric vector containing the predicted classes of the new observations.

Author(s)

Holger Schwender, holger.schwender@udo.edu

See Also

logic.bagging


[Package logicFS version 1.2.0 Index]