Skip to content

flashlight

Shed Light on Black Box Machine Learning Models

v1.0.0 · Oct 13, 2025 · GPL (>= 2)

Description

Shed light on black box machine learning models by the help of model performance, variable importance, global surrogate models, ICE profiles, partial dependence (Friedman J. H. (2001) <doi:10.1214/aos/1013203451>), accumulated local effects (Apley D. W. (2016) <doi:10.48550/arXiv.1612.08468>), further effects plots, interaction strength, and variable contribution breakdown (Gosiewska and Biecek (2019) <doi:10.48550/arXiv.1903.11420>). All tools are implemented to work with case weights and allow for stratified analysis. Furthermore, multiple flashlights can be combined and analyzed together.

Downloads

707

Last 30 days

5222nd

1.7K

Last 90 days

7.5K

Last year

Trend: +45.8% (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

Reverse Dependencies (2)

imports

Dependency Network

Dependencies Reverse dependencies dplyr ggplot2 MetricsWeighted rlang rpart rpart.plot tibble tidyr tidyselect mrIML vivid flashlight

Version History

new 1.0.0 Mar 10, 2026
updated 1.0.0 ← 0.9.0 diff Oct 12, 2025
updated 0.9.0 ← 0.8.0 diff May 9, 2023
updated 0.8.0 ← 0.7.5 diff Apr 20, 2021
updated 0.7.5 ← 0.7.4 diff Feb 12, 2021
updated 0.7.4 ← 0.7.3 diff Jan 9, 2021
updated 0.7.3 ← 0.7.2 diff Jun 19, 2020
updated 0.7.2 ← 0.7.1 diff Apr 13, 2020
updated 0.7.1 ← 0.7.0 diff Mar 19, 2020
updated 0.7.0 ← 0.6.0 diff Mar 11, 2020
updated 0.6.0 ← 0.5.0 diff Jan 18, 2020
updated 0.5.0 ← 0.4.0 diff Dec 4, 2019
updated 0.4.0 ← 0.3.0 diff Nov 9, 2019
updated 0.3.0 ← 0.2.0 diff Oct 12, 2019
updated 0.2.0 ← 0.1.0 diff Sep 17, 2019
new 0.1.0 Aug 24, 2019