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>.
| Version: | 0.6.0 |
| Imports: | graphics, grDevices, Rcpp, RcppEigen, rlang, stats, utils |
| LinkingTo: | Rcpp |
| Suggests: | datasets, ggplot2, khroma, knitr, RColorBrewer, rmarkdown, scales, testthat, viridisLite |
| Published: | 2026-03-08 |
| DOI: | 10.32614/CRAN.package.midr |
| Author: | Ryoichi Asashiba [aut, cre], Hirokazu Iwasawa [aut], Reiji Kozuma [ctb] |
| Maintainer: | Ryoichi Asashiba <ryoichi.asashiba at gmail.com> |
| BugReports: | https://github.com/ryo-asashi/midr/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/ryo-asashi/midr, https://ryo-asashi.github.io/midr/ |
| NeedsCompilation: | yes |
| Citation: | midr citation info |
| Materials: | README, NEWS |
| CRAN checks: | midr results |
| Reference manual: | midr.html , midr.pdf |
| Package source: | midr_0.6.0.tar.gz |
| Windows binaries: | r-devel: midr_0.6.0.zip, r-release: midr_0.6.0.zip, r-oldrel: midr_0.6.0.zip |
| macOS binaries: | r-release (arm64): midr_0.6.0.tgz, r-oldrel (arm64): midr_0.6.0.tgz, r-release (x86_64): midr_0.6.0.tgz, r-oldrel (x86_64): midr_0.6.0.tgz |
| Old sources: | midr archive |
Please use the canonical form https://CRAN.R-project.org/package=midr to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.