Learn R Programming

varImp

Random forest variable importance for arbitrary measures of the measures package, which contains the biggest collection of measures for regression and classification in R.

Installation

The development version

devtools::install_github("mlr-org/measures")
devtools::install_github("PhilippPro/varImp")
iris.cf <- cforest(Species ~ ., data = iris, control = cforest_unbiased(mtry = 2, ntree = 50))
varImp(object = iris.cf, measure = "multiclass.Brier")
varImpACC(object = iris.cf)
# Two classes:
iris2 = iris
iris2$Species = factor(iris$Species == "versicolor")
iris.cf = cforest(Species ~ ., data = iris2,control = cforest_unbiased(mtry = 2, ntree = 50))
varImpAUC(object = iris.cf)

Copy Link

Version

Install

install.packages('varImp')

Monthly Downloads

1,265

Version

0.4

License

GPL-3

Maintainer

Philipp Probst

Last Published

May 23rd, 2020

Functions in varImp (0.4)

varImpRanger

varImpRanger
varImpACC

varImpACC
varImpAUC

varImpAUC
varImp

varImp