Learn R Programming

LogicForest (version 2.1.2)

proportion.positive: Internal Logic Forest Functions

Description

This function is called by predict.logforest. It is not intended to be used independently of this function. It determined the proportion of logic regression trees within a logic forest that predict a class of one for new observations. Additionally it returns predicted values for new observations.

Usage

proportion.positive(predictmatrix, cutoff)

Value

ans list of predicted values and proportion of trees that predict class of one

Arguments

predictmatrix

matrix of predicted values

cutoff

proportion of trees that predict class of one required to result in prediction of class of one