Unbiased Variable Importance for Random Forests
Overview
Computes a novel variable importance for random forests: Impurity reduction importance scores for out-of-bag (OOB) data complementing the existing inbag Gini importance, see also <doi: 10.1080/03610926.2020.1764042>. The Gini impurities for inbag and OOB data are combined in three different ways, after which the information gain is computed at each split. This gain is aggregated for each split variable in a tree and averaged across trees.
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Markus Loecher <Markus.Loecher@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Markus",
family = "Loecher",
role = c("aut", "cre"),
email = "Markus.Loecher@gmail.com")
as necessary.NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespace in Imports field not imported from: ‘titanic’ All declared Imports should be used.
- NOTE9 OK, 4 NOTE2026-06-09
- ERROR9 OK, 3 NOTE, 1 ERROR2026-06-08
- NOTE10 OK, 4 NOTE2026-03-10
Documentation
- Help pages
- 16
- Examples that run
- 100%15 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 99%
- Return-value docs
- 62%
- Help pages citing references
- 0%
Downloads
Dependencies
Installing rfVarImpOOB adds 71 packages (35 with compiled code, 65 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, doBy 4.3 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- unarchivedReturned to CRAN2022-07-01
- 1.0.3Latest
- archivedRemoved from CRAN2022-04-26requires archived package 'binaryLogic'
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.0.12020-10-18 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 1.02019-04-05
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2019-04-05
- Total releases
- 3 / 7 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.2.2
- Bundled data
- 46 KB / 2 files
- Download size
- 88 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("rfVarImpOOB")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1080/03610926.2020.1764042.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.