Proximum: Statistical Analysis of Ensemble Proximity Matrices

Treats the proximity matrices produced by tree ensembles as first-class statistical objects rather than as model by-products. Provides a unified extractor across ensemble engines, in-bag and out-of-bag definitions, transformations to dissimilarities with metric diagnostics, corrections that make an indefinite proximity usable as a kernel, and permutation inference for comparing two proximity matrices or partitioning one across the terms of a design. Also provides a Nystrom approximation, a thresholded sparse representation and a streaming form that never allocates the matrix at all, for samples too large to hold it, measures how far the proximity moves between replicates of the ensemble, and draws each object through 'ggplot2': the seriated matrix, the configuration it implies, and the thresholded graph with its communities.

Version: 1.1.0
Depends: R (≥ 3.5)
Imports: ggplot2, Matrix, rlang, stats, utils
Suggests: covr, e2tree, igraph, knitr, randomForest, ranger, rmarkdown, seriation, testthat (≥ 3.2.0), vegan
Published: 2026-09-17
DOI: 10.32614/CRAN.package.Proximum (may not be active yet)
Author: Agostino Gnasso ORCID iD [aut, cre, cph]
Maintainer: Agostino Gnasso <agostino.gnasso at unina.it>
BugReports: https://github.com/agostinognasso/Proximum/issues
License: MIT + file LICENSE
URL: https://github.com/agostinognasso/Proximum
NeedsCompilation: no
Language: en-GB
Materials: README, NEWS
CRAN checks: Proximum results

Documentation:

Reference manual: Proximum.html , Proximum.pdf
Vignettes: Proximity matrices as statistical objects (source, R code)
Comparing forests through their proximities (source, R code)
A credit scoring case study (source, R code)
Proximity matrices when n is large (source, R code)

Downloads:

Package source: Proximum_1.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): Proximum_1.1.0.tgz, r-release (x86_64): Proximum_1.1.0.tgz, r-oldrel (x86_64): Proximum_1.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=Proximum to link to this page.