Package: ROOT 0.2.0

Peter Liu

ROOT: Rashomon Set of Optimal Trees

Implements a general framework for globally optimizing user-specified objective functionals over interpretable binary weight functions represented as sparse decision trees, called ROOT (Rashomon Set of Optimal Trees). It searches over candidate trees to construct a Rashomon set of near-optimal solutions and derives a summary tree highlighting stable patterns in the optimized weights. ROOT includes a built-in generalizability mode for identifying subgroups in trial settings for transportability analyses (Parikh et al. (2025) <doi:10.1080/01621459.2025.2495319>).

Authors:Yiren Hou [aut], Peter Liu [aut, cre], Sean McGrath [aut], Harsh Parikh [aut]

ROOT_0.2.0.tar.gz
ROOT_0.2.0.zip(r-4.7)ROOT_0.2.0.zip(r-4.6)ROOT_0.2.0.zip(r-4.5)
ROOT_0.2.0.tgz(r-4.6-any)ROOT_0.2.0.tgz(r-4.5-any)
ROOT_0.2.0.tar.gz(r-4.7-any)ROOT_0.2.0.tar.gz(r-4.6-any)
ROOT_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
ROOT/json (API)
NEWS

# Install 'ROOT' in R:
install.packages('ROOT', repos = c('https://peterliu599.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/peterliu599/root/issues

Datasets:

On CRAN:

Conda:

7.21 score 1 stars 492 scripts 498 downloads 2 exports 8 dependencies

Last updated from:d72adc8cb8. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK132
source / vignettesOK172
linux-release-x86_64OK127
macos-release-arm64OK117
macos-oldrel-arm64OK99
windows-develOK95
windows-releaseOK89
windows-oldrelOK82
wasm-releaseOK101

Exports:characterizing_underrepROOT

Dependencies:gbmlatticeMASSMatrixrpartrpart.plotsurvivalwithr

Generalizability Path Example: Characterizing Underrepresented Populations

Rendered fromgeneralizability_path_example.Rmdusingknitr::rmarkdownon May 25 2026.

Last update: 2026-03-05
Started: 2026-01-22

Optimization Path Example: Portfolio Selection via Variance Minimization

Rendered fromoptimization_path_example.Rmdusingknitr::rmarkdownon May 25 2026.

Last update: 2026-02-19
Started: 2026-01-22

Quickstart Guide to ROOT

Rendered fromquickstart.Rmdusingknitr::rmarkdownon May 25 2026.

Last update: 2026-03-05
Started: 2026-01-22