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.
proportion.positive(predictmatrix, cutoff)
ans list of predicted values and proportion of trees that predict class of one
matrix of predicted values
proportion of trees that predict class of one required to result in prediction of class of one