hstats: Interaction Statistics

Fast, model-agnostic implementation of different H-statistics introduced by Jerome H. Friedman and Bogdan E. Popescu (2008) <doi:10.1214/07-AOAS148>. These statistics quantify interaction strength per feature, feature pair, and feature triple. The package supports multi-output predictions and can account for case weights. In addition, several variants of the original statistics are provided. The shape of the interactions can be explored through partial dependence plots or individual conditional expectation plots. 'DALEX' explainers, meta learners ('mlr3', 'tidymodels', 'caret') and most other models work out-of-the-box.

Version: 1.1.0
Depends: R (≥ 3.2.0)
Imports: ggplot2, stats, utils
Suggests: testthat (≥ 3.0.0)
Published: 2023-11-13
Author: Michael Mayer [aut, cre]
Maintainer: Michael Mayer <mayermichael79 at gmail.com>
BugReports: https://github.com/mayer79/hstats/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/mayer79/hstats
NeedsCompilation: no
Materials: README NEWS
CRAN checks: hstats results


Reference manual: hstats.pdf


Package source: hstats_1.1.0.tar.gz
Windows binaries: r-devel: hstats_1.1.0.zip, r-release: hstats_1.1.0.zip, r-oldrel: hstats_1.1.0.zip
macOS binaries: r-release (arm64): hstats_1.1.0.tgz, r-oldrel (arm64): hstats_1.1.0.tgz, r-release (x86_64): hstats_1.1.0.tgz, r-oldrel (x86_64): hstats_1.0.0.tgz
Old sources: hstats archive


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