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.

Getting started

Package details

AuthorMichael Mayer [aut, cre]
MaintainerMichael Mayer <mayermichael79@gmail.com>
LicenseGPL (>= 2)
Version1.1.2
URL https://github.com/mayer79/hstats https://mayer79.github.io/hstats/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("hstats")

Try the hstats package in your browser

Any scripts or data that you put into this service are public.

hstats documentation built on May 29, 2024, 6:43 a.m.