Package: unityForest 0.2.0

unityForest: Improving Interaction Modelling and Interpretability in Random Forests

Implementation of the unity forest (UFO) framework (Hornung & Hapfelmeier, 2026, <doi:10.48550/arXiv.2601.07003>). UFOs are a random forest variant designed to better take covariates with purely interaction-based effects into account, including interactions for which none of the involved covariates exhibits a marginal effect. While this framework tends to improve discrimination and predictive accuracy compared to standard random forests, it also facilitates the identification and interpretation of (marginal or interactive) effects: In addition to the UFO algorithm for tree construction, the package includes the unity variable importance measure (unity VIM), which quantifies covariate effects under the conditions in which they are strongest - either marginally or within subgroups defined by interactions - as well as covariate-representative tree roots (CRTRs) that provide interpretable visualizations of these conditions. Categorical and continuous outcomes are supported. This package is a fork of the R package 'ranger' (main author: Marvin N. Wright), which implements random forests using an efficient C++ backend.

Authors:Roman Hornung [aut, cre], Marvin N. Wright [ctb, cph]

unityForest_0.2.0.tar.gz
unityForest_0.2.0.zip(r-4.7)unityForest_0.2.0.zip(r-4.6)unityForest_0.2.0.zip(r-4.5)
unityForest_0.2.0.tgz(r-4.6-x86_64)unityForest_0.2.0.tgz(r-4.6-arm64)unityForest_0.2.0.tgz(r-4.5-x86_64)unityForest_0.2.0.tgz(r-4.5-arm64)
unityForest_0.2.0.tar.gz(r-4.7-arm64)unityForest_0.2.0.tar.gz(r-4.7-x86_64)unityForest_0.2.0.tar.gz(r-4.6-arm64)unityForest_0.2.0.tar.gz(r-4.6-x86_64)
unityForest_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
unityForest/json (API)
NEWS

# Install 'unityForest' in R:
install.packages('unityForest', repos = c('https://romanhornung.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • stock - Data on stock prices of aerospace companies
  • wine - Wine Chemical Analysis Data

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

cpp

1.30 score 157 downloads 2 exports 30 dependencies

Last updated from:583427991c. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK155
linux-devel-x86_64OK164
source / vignettesOK187
linux-release-arm64OK155
linux-release-x86_64OK160
macos-release-arm64OK174
macos-release-x86_64OK293
macos-oldrel-arm64OK161
macos-oldrel-x86_64OK300
windows-develOK183
windows-releaseOK149
windows-oldrelOK188
wasm-releaseOK136

Exports:reprTreesunityfor

Dependencies:clicpp11dplyrfarvergenericsggplot2ggrepelgluegtableisobandlabelinglatticelifecyclemagrittrMatrixpillarpkgconfigR6RColorBrewerRcppRcppEigenrlangS7scalestibbletidyselectutf8vctrsviridisLitewithr