print.LFprediction: Prints Logic Forest Prediction Output
Description
Prints predictions from a logic forest model.
Usage
"print"(x, ...)
Arguments
x
an object of class LF.prediction.
...
other options are ignored.
Value
newdata or the out-of-bag predictions for data used to construct the logic forest and a numeric vector of the proportion of trees in a logic forest that predict a class of one.
data(logforest.fit, LF.testdata)
#OOB prediction on original datapredict(logforest.fit)
#Prediction for new test datapredict(logforest.fit, newdata=LF.testdata[,1:50])