summary.stratified_rf {StratifiedRF} | R Documentation |
Calculates error statistics for out-of-bag samples from a stratified_rf model.
## S3 method for class 'stratified_rf'
summary(object, ...)
object |
A stratified_rf model. |
... |
other options (not currently used) |
Predictions for a class are made by averaging class probabilities across trees rather than by a majority vote. All trees are weighted equally.
data(iris)
groups <- list(c("Sepal.Length","Sepal.Width"),c("Petal.Length","Petal.Width"))
mtry <- c(1,1)
m <- stratified_rf(iris,"Species",groups,mtry,ntrees=2,multicore=FALSE)
summary(m)