lime
0.5.5Local Interpretable Model-Agnostic Explanations
Overview
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.
- Made a change to allow RcppEigen to release easily. (#205)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 18 (4 internal)includes a package overview page
- Examples that run
- 80%8 run in a plain check · 2 never run
- Exported functions with examples
- 71%
- Documented parameters
- 93%
- Return-value docs
- 93%
- Help pages citing references
- 6%
- Understanding lime HTML
Downloads
Repository
- PRs merged (all time)
- 81%
- Median days to close, 50 most recently updated closed issues
- 140
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
13 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/tidymodels/lime on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-12-11 · The repository has a site deploy workflow
pkgdown site last built 2025-12-11, before release 0.5.5 (2026-10-16)
Show all practicesHide 3 practices
Dependencies
Code & Tests
Datasets
People & History
Previously maintained by Thomas Lin Pedersen (0.3.0 to 0.5.2).
Pick two releases to compare their code metrics.
- 0.5.5Latest
- RR 4.6.0 released · 2026-04-24
- 0.5.42025-12-11 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.5.32022-08-19 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.5.22021-02-24 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.5.12019-11-12 · diff ↗
- 0.5.0
- RR 3.6.0 released · 2019-04-26
- 0.4.12018-11-21 · diff ↗
- RR 3.5.0 released · 2018-04-23
Show 4 earlier eventsHide 4 earlier events
- 0.4.02018-03-08 · diff ↗ ·
added 6 exports
.load_image_example, as_classifier, as_regressor, plot_image_explanation, plot_superpixels, slic - 0.3.1
- 0.3.02017-09-15
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-09-15
- Total releases
- 10 / 9 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1
- Bundled data
- 98 KB / 3 files
- Download size
- 1.3 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("lime")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.