predict.logforest {LogicForest}R Documentation

Predict method for logic forest models

Description

Predicts outcomes for new observations using a fitted logic forest model.

Usage

## S3 method for class 'logforest'
predict(object, newdata, cutoff, ...)

Arguments

object

An object of class "logforest".

newdata

A data frame containing new observations to predict.

cutoff

A numeric value indicating the proportion of trees that must predict class 1 for an overall prediction of class 1.

...

Additional arguments (currently ignored).

Value

An object of class "LFprediction" containing the predicted outcomes.


[Package LogicForest version 2.1.2 Index]