midr 0.6.0 Release Notes (2026-03-08)
This release focuses on expanding support for multiple models and multivariate responses, optimizing core algorithm performance, and streamlining class and argument names.
1. Major Features & Enhancements
-
Multiple Models & Multivariate Responses ("midlist" and "midrib" classes): Implemented collection objects of class "midlist" and "midrib", along with manipulation functions (e.g.,
midlist()) and corresponding visualization tools (methods forggmid()andplot()). This enables the efficient handling and comparison of multiple interpretation models. -
Multi-class & Survival Model Interpretation:
interpret()now accepts a matrix for the response variabley, allowing for the simultaneous modeling of multiple responses. This facilitates the interpretation of both multi-class classification models and survival models. -
Parametric Link Functions: Added support for parametric link functions including Box-Cox, Yeo-Johnson, Robit, and Scobit.
-
Variable Encoding Updates: Enhanced the variable encoding functionality in
interpret()and encoder generators by introducing new arguments:splitfor numeric variables andlumpfor factor variables.
2. Breaking Changes & Deprecations
-
Class Renames: Renamed long class names to shorter abbreviations for convenience:
- "mid.importance" -> "midimp"
- "mid.breakdown" -> "midbrk"
- "mid.conditional" -> "midcon"
-
Argument Updates in
interpret():- The
catchallargument has been renamed toothers. - The
encoding.digitsargument has been renamed todigits, and its default value is nowNULL. - The
use.catchallargument is now deprecated and replaced bylump = "none".
- The
3. Bug Fixes & Stability
-
Fixed an incorrect calculation in
interpret()whensingular.ok = TRUE(orweighted.norm = TRUE) andlambda > 0. -
Modified the weights calculation algorithm to enhance numerical stability.