summary.stratified_rf {StratifiedRF}R Documentation

Summary statistics from a model

Description

Calculates error statistics for out-of-bag samples from a stratified_rf model.

Usage

## S3 method for class 'stratified_rf'
summary(object, ...)

Arguments

object

A stratified_rf model.

...

other options (not currently used)

Details

Predictions for a class are made by averaging class probabilities across trees rather than by a majority vote. All trees are weighted equally.

Examples

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)

[Package StratifiedRF version 0.2.2 Index]