Skip to content

lime

Local Interpretable Model-Agnostic Explanations

v0.5.4 · Dec 11, 2025 · MIT + file LICENSE

Description

When building complex models, it is often difficult to explain why the model should be trusted. While global measures such as accuracy are useful, they cannot be used for explaining why a model made a specific prediction. 'lime' (a port of the 'lime' 'Python' package) is a method for explaining the outcome of black box models by fitting a local model around the point in question an perturbations of this point. The approach is described in more detail in the article by Ribeiro et al. (2016) <doi:10.48550/arXiv.1602.04938>.

Downloads

3.7K

Last 30 days

2062nd

12.6K

Last 90 days

293.3K

Last year

Trend: -15.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 (4)

imports

Dependency Network

Dependencies Reverse dependencies assertthat ggplot2 glmnet glue gower lifecycle Matrix Rcpp rlang stringi grafzahl DALEXtra fastml innsight lime

Version History

new 0.5.4 Mar 10, 2026
updated 0.5.4 ← 0.5.3 diff Dec 10, 2025
updated 0.5.3 ← 0.5.2 diff Aug 18, 2022
updated 0.5.2 ← 0.5.1 diff Feb 23, 2021
updated 0.5.1 ← 0.5.0 diff Nov 11, 2019
updated 0.5.0 ← 0.4.1 diff Jun 23, 2019
updated 0.4.1 ← 0.4.0 diff Nov 20, 2018
updated 0.4.0 ← 0.3.1 diff Mar 7, 2018
updated 0.3.1 ← 0.3.0 diff Nov 23, 2017
new 0.3.0 Sep 14, 2017