Skip to content

diversityForest

Innovative Complex Split Procedures in Random Forests Through Candidate Split Sampling

v0.6.0 · May 5, 2025 · GPL-3

Description

Implementation of three methods based on the diversity forest (DF) algorithm (Hornung, 2022, <doi:10.1007/s42979-021-00920-1>), a split-finding approach that enables complex split procedures in random forests. The package includes: 1. Interaction forests (IFs) (Hornung & Boulesteix, 2022, <doi:10.1016/j.csda.2022.107460>): 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. Two random forest-based variable importance measures (VIMs) for multi-class outcomes: the class-focused VIM, which ranks covariates by their ability to distinguish individual outcome classes from the others, and the discriminatory VIM, which measures overall covariate influence irrespective of class-specific relevance. 3. The basic form of diversity forests that uses conventional univariable, binary splitting (Hornung, 2022). Except for the multi-class VIMs, all methods support categorical, metric, and survival outcomes. The package includes visualization tools for interpreting the identified covariate effects. Built as a fork of the 'ranger' R package (main author: Marvin N. Wright), which implements random forests using an efficient C++ implementation.

Downloads

691

Last 30 days

5374th

2K

Last 90 days

7.3K

Last year

Trend: -0.6% (30d vs prior 30d)

CRAN Check Status

3 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (5 non-OK)
NOTE r-oldrel-macos-arm64

installed package size

installed size is 10.8Mb
  sub-directories of 1Mb or more:
    libs  10.1Mb
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘BOLTSSIRR’
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 10.8Mb
  sub-directories of 1Mb or more:
    libs  10.2Mb
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘BOLTSSIRR’
NOTE r-oldrel-windows-x86_64

package dependencies

Package suggested but not available for checking: 'BOLTSSIRR'

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘BOLTSSIRR’
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘BOLTSSIRR’
NOTE r-oldrel-windows-x86_64

package dependencies

Package suggested but not available for checking: 'BOLTSSIRR'

Dependency Network

Dependencies Reverse dependencies Rcpp Matrix ggplot2 ggpubr scales nnet sgeostat rms MapGAM gam rlang RColorBrewer RcppEigen survival patchwork diversityForest

Version History

new 0.6.0 Mar 10, 2026
updated 0.6.0 ← 0.5.0 diff May 4, 2025
updated 0.5.0 ← 0.4.0 diff Sep 15, 2024
updated 0.4.0 ← 0.3.4 diff Mar 7, 2023
updated 0.3.4 ← 0.3.3 diff Jun 8, 2022
updated 0.3.2 ← 0.3.1 diff Jan 4, 2022
updated 0.3.3 ← 0.3.2 diff Jan 4, 2022
updated 0.3.1 ← 0.3.0 diff Apr 2, 2021
updated 0.3.0 ← 0.2.0 diff Mar 31, 2021
updated 0.2.0 ← 0.1.0 diff Jan 28, 2020
new 0.1.0 Jan 7, 2020