The randomForest()
function in the randomForest
package very helpfully provides the confusion matrix based on out-of-bag prediction in classification.
The cforest()
function in the party
package does not seem to provide this information. Searching for "confusion" in the party
documentation did not yield anything useful, nor did searching here. Maybe I'm overlooking something?
Is there a way to get the OOB confusion matrix for a party::cforest()
classification model?