Learn R Programming

diversityForest (version 0.5.0)

Innovative Complex Split Procedures in Random Forests Through Candidate Split Sampling

Description

Implementations of three diversity forest (DF) (Hornung, 2022, ) variants. The DF algorithm is a split-finding approach that allows complex split procedures to be realized in random forest variants. The three DF variants implemented are: 1. interaction forests (IFs) (Hornung & Boulesteix, 2022, ): Model quantitative and qualitative interaction effects using bivariable splitting. Come with the Effect Importance Measure (EIM), which can be used to identify variable pairs that have well-interpretable quantitative and qualitative interaction effects with high predictive relevance. 2. multi forests (MuFs) (Hornung & Hapfelmeier, 2024, ): Model multi-class outcomes using multi-way and binary splitting. Come with two variable importance measures (VIMs): The multi-class VIM measures the degree to which the variables are specifically associated with one or more outcome classes, and the discriminatory VIM, similar to conventional VIMs, measures the overall influence strength of the variables. 3. the basic form of diversity forests that uses conventional univariable, binary splitting (Hornung, 2022). Except for multi forests, which are tailored for multi-class outcomes, all included diversity forest variants support categorical, metric, and survival outcomes. The package also includes plotting functions that make it possible to learn about the forms of the effects identified using IFs and MuFs. This is a fork of the R package 'ranger' (main author: Marvin N. Wright), which implements random forests using an efficient C++ implementation.

Copy Link

Version

Install

install.packages('diversityForest')

Monthly Downloads

546

Version

0.5.0

License

GPL-3

Maintainer

Roman Hornung

Last Published

September 16th, 2024

Functions in diversityForest (0.5.0)

ctg

Data on automatic analysis of cardiotocograms
interactionfor

Construct an interaction forest prediction rule and calculate EIM values as described in Hornung & Boulesteix (2022).
hars

Data on human activity recognition using smartphones
plot.interactionfor

Plot method for interactionfor objects
plot.multifor

Plot method for multifor objects
diversityForest-package

Diversity Forests
plotEffects

Interaction forest plots: exploring interaction forest results through visualisation
importance.divfor

Diversity Forest variable importance
divfor

Construct a basic diversity forest prediction rule that uses univariable, binary splitting.
multifor

Construct a multi forest prediction rule and calculate multi-class and discriminatory variable importance scores as described in Hornung & Hapfelmeier (2024).
predict.interactionfor

Interaction Forest prediction
predictions.divfor.prediction

Diversity Forest predictions
stock

Data on stock prices of aerospace companies
tunedivfor

Optimization of the values of the tuning parameters nsplits and proptry
plotPair

Plot of the (estimated) simultaneous influence of two variables
predictions.divfor

Diversity Forest predictions
plotVar

Plot of the (estimated) dependency structure of a variable x on a categorical variable y
predict.multifor

Multi forest prediction
plotMcl

Plots of the (estimated) within-class distributions of variables
predict.divfor

Diversity Forest prediction
zoo

Data on biological species