Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

exptdErrRate

Expected Error Rate


Description

Calculate expected OOB error rates (priors) for randomForest classification model based on random assignment and class sizes.

Usage

exptdErrRate(rf)

Arguments

rf

an object inheriting from link{randomForest}.

Value

a vector of expected error rates (priors) for each class.

Author(s)

Examples

data(mtcars)

rf <- randomForest(factor(am) ~ ., mtcars)
exptdErrRate(rf)

rfPermute

Estimate Permutation p-Values for Random Forest Importance Metrics

v2.1.81
GPL (>= 2)
Authors
Eric Archer [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.