Returns error rate and stability measures of a varSelRFBoot object.
Usage
## S3 method for class 'varSelRFBoot'
summary(object, return.model.freqs = FALSE,
return.class.probs = TRUE,
return.var.freqs.b.models = TRUE, ...)
Arguments
object
An object of class varSelRFBoot, as returned from
varSelRFBoot.
return.model.freqs
If TRUE return a table with the frequencies
of the final "models" (sets of selected variables) over all
bootstrap replications.
return.class.probs
If TRUE return average class probabilities
for each sample based on the out-of-bag probabilites (see
varSelRFBoot, the prob.predictions component).
return.var.freqs.b.models
If TRUE return the frequencies of all
variables selected from the bootstrap replicates.
...
Not used.
Value
If return.class.probs = TRUE a matrix with the average class
probabilities for each sample based on the out-of-bag probabilites.
Regardless of that setting, print out several summaries:
Summaries related to the "simplified" random forest on the original
data
Such as the number and identity of the variables selected.
Summaries related to the error rate estimate
Such as the .632+
estimate, and some of its components
Summaries related to the stability (uniqueness) of the results
obtained
Such as the frequency of the selected variables in the
bootstrap runs, the frequency of the selected variables in the
boostrap runs that are also among the variables selected from the
complete run, the overlap of the bootstrap forests with the forest
from the original data set (see varSelRF for the
definition of overlap), and (optionally) the frequency of the
"models", where a
model is the set of variables selected in any particular run.