midr: Learning from Black-Box Models by Maximum Interpretation Decomposition

The goal of 'midr' is to provide a model-agnostic method for interpreting and explaining black-box predictive models by creating a globally interpretable surrogate model. The package implements 'Maximum Interpretation Decomposition' (MID), a functional decomposition technique that finds an optimal additive approximation of the original model. This approximation is achieved by minimizing the squared error between the predictions of the black-box model and the surrogate model. The theoretical foundations of MID are described in Iwasawa & Matsumori (2025) [Forthcoming], and the package itself is detailed in Asashiba et al. (2025) <doi:10.48550/arXiv.2506.08338>.

Package details

AuthorRyoichi Asashiba [aut, cre], Hirokazu Iwasawa [aut], Reiji Kozuma [ctb]
MaintainerRyoichi Asashiba <ryoichi.asashiba@gmail.com>
LicenseMIT + file LICENSE
Version0.5.2
URL https://github.com/ryo-asashi/midr https://ryo-asashi.github.io/midr/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("midr")

Try the midr package in your browser

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

midr documentation built on Sept. 11, 2025, 1:07 a.m.