Learn R Programming

randomForestExplainer

A set of tools to understand what is happening inside a Random Forest. A detailed discussion of the package and importance measures it implements can be found here: Master thesis on randomForestExplainer.

Installation

# the easiest way to get randomForestExplainer is to install it from CRAN:
install.packages("randomForestExplainer")

# Or the the development version from GitHub:
# install.packages("devtools")
devtools::install_github("ModelOriented/randomForestExplainer")

Vignette

Cheatsheets

Examples

Copy Link

Version

Install

install.packages('randomForestExplainer')

Monthly Downloads

924

Version

0.10.1

License

GPL

Issues

Pull Requests

Stars

Forks

Maintainer

Yue Jiang

Last Published

July 11th, 2020

Functions in randomForestExplainer (0.10.1)

plot_min_depth_distribution

Plot the distribution of minimal depth in a random forest
plot_min_depth_interactions

Plot the top mean conditional minimal depth
plot_importance_ggpairs

Plot importance measures with ggpairs
measure_importance

Importance of variables in a random forest
plot_multi_way_importance

Multi-way importance plot
min_depth_distribution

Calculate minimal depth distribution of a random forest
plot_importance_rankings

Plot importance measures rankings with ggpairs
explain_forest

Explain a random forest
min_depth_interactions

Calculate mean conditional minimal depth
important_variables

Extract k most important variables in a random forest
plot_predict_interaction

Plot the prediction of the forest for a grid of values of two numerical variables