RandomForest-class {party} | R Documentation |
A class for representing random forest ensembles.
Objects can be created by calls of the form new("RandomForest", ...)
.
ensemble
:"list"
, each element
being an object of class BinaryTree-class
.data
:ModelEnv
.responses
:"VariableFrame"
storing the values of the response variable(s). cond_distr_response
:predict_response
:prediction_weights
:signature(object = "RandomForest")
: ... signature(object = "RandomForest")
: ... ### honest (i.e., out-of-bag) cross-classification of ### true vs. predicted classes table(mammoexp$ME, predict(cforest(ME ~ ., data = mammoexp, control = cforest_classical(ntree = 50)), OOB = TRUE))