lime
0.5.4Local 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.
Install
Health
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-04-2214 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1813 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 80%
- Documented parameters
- 93%
- Return-value docs
- 93%
- References docs
- 6%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
7 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/tidymodels/lime on 2026-08-16.
Show all practices
Dependencies
Code & Tests
Datasets
People & History
9 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.5.4Latest
- 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.02019-06-24 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.4.12018-11-21 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.4.02018-03-08 · diff ↗
Show 3 earlier events
- 0.3.12017-11-24 · diff ↗
- 0.3.02017-09-15
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-09-15
- Total releases
- 9 / 9 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1
- Bundled data
- 98 KB / 3 files
- Download size
- 1.4 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("lime")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.