Skip to content

midr

Learning from Black-Box Models by Maximum Interpretation Decomposition

v0.6.0 · Mar 8, 2026 · MIT + file LICENSE

Description

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>.

Downloads

684

Last 30 days

5446th

1.9K

Last 90 days

4.7K

Last year

Trend: +11.4% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies Rcpp RcppEigen rlang midr

Version History

new 0.6.0 Mar 10, 2026
updated 0.6.0 ← 0.5.3 diff Mar 7, 2026
updated 0.5.3 ← 0.5.2 diff Jan 15, 2026
updated 0.5.2 ← 0.5.1 diff Sep 7, 2025
updated 0.5.1 ← 0.5.0 diff Aug 26, 2025
new 0.5.0 Jun 22, 2025