Package: midnight 0.2.0

Ryoichi Asashiba

midnight: A 'tidymodels' Engine and Other Extensions for the 'midr' Package

Provides a 'parsnip' engine for the 'midr' package, enabling users to fit, tune, and evaluate Maximum Interpretation Decomposition (MID) models within the 'tidymodels' framework. Developed through research by the Moonlight Seminar 2025, a study group of actuaries from the Institute of Actuaries of Japan, to enhance practical applications of interpretable modeling. Detailed methodology is available in Asashiba et al. (2025) <doi:10.48550/arXiv.2506.08338>.

Authors:Ryoichi Asashiba [aut, cre]

midnight_0.2.0.tar.gz
midnight_0.2.0.zip(r-4.7)midnight_0.2.0.zip(r-4.6)midnight_0.2.0.zip(r-4.5)
midnight_0.2.0.tgz(r-4.6-x86_64)midnight_0.2.0.tgz(r-4.6-arm64)midnight_0.2.0.tgz(r-4.5-x86_64)midnight_0.2.0.tgz(r-4.5-arm64)
midnight_0.2.0.tar.gz(r-4.7-arm64)midnight_0.2.0.tar.gz(r-4.7-x86_64)midnight_0.2.0.tar.gz(r-4.6-arm64)midnight_0.2.0.tar.gz(r-4.6-x86_64)
midnight_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
midnight/json (API)
NEWS

# Install 'midnight' in R:
install.packages('midnight', repos = c('https://ryo-asashi.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ryo-asashi/midnight/issues

Pkgdown/docs site:https://ryo-asashi.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

imlinterpretable-machine-learningparsnipxaicpp

4.15 score 2 stars 3 scripts 458 downloads 5 exports 4 dependencies

Last updated from:752f8ece54. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK187
linux-devel-x86_64OK178
source / vignettesOK205
linux-release-arm64OK189
linux-release-x86_64OK186
macos-release-arm64OK277
macos-release-x86_64OK285
macos-oldrel-arm64OK164
macos-oldrel-x86_64OK313
windows-develOK216
windows-releaseOK176
windows-oldrelOK197
wasm-releaseOK144

Exports:daybreakfastLmMatrixfit_mid_regmid_regnightfall

Dependencies:midrRcppRcppEigenrlang

Readme and manuals

Help Manual

Help pageTopics
Fit Multivariate Linear ModelsfastLmMatrix fastLmMatrix.default fastLmMatrix.formula
Plot MID Importance with ggplot2ggmid.midimp
Transition into and out of Midnightdaybreak nightfall
Perspective Plot of MID Effectspersp.mid