live
1.5.13Local Interpretable (Model-Agnostic) Visual Explanations
Overview
Interpretability of complex machine learning models is a growing concern. This package helps to understand key factors that drive the decision made by complicated predictive model (so called black box model). This is achieved through local approximations that are either based on additive regression like model or CART like model that allows for higher interactions. The methodology is based on Tulio Ribeiro, Singh, Guestrin (2016) doi:10.1145/2939672.2939778. More details can be found in Staniak, Biecek (2018) doi:10.32614/RJ-2018-072.
Install
Health
- NOTE r-devel-linux-x86_64-fedora-clang
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE2026-03-1012 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 0%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 6%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
Repository practices
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/modeloriented/live on 2026-07-19.
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 2.0 median / 9 max
- Test cases
- 17 / 0.30 per code line
Test coverage
Line coverage
96%
Expression
96.7%
Tests / Examples
96.3% / 1% ex
Functions
26 9 exported
Complexity
2.5 avg / 9 max
Call network
26 nodes / 19 edges
Call graph
Open call graph →Lowest coverage
26 functions| Function | Cyclo | Coverage |
|---|---|---|
| live_shiny exp | 1 | 68% |
| add_predictions exp | 2 | 100% |
| euclidean_kernel exp | 1 | 100% |
| fit_explanation exp | 9 | 100% |
| gaussian_kernel exp | 1 | 100% |
| identity_kernel exp | 1 | 100% |
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| wine | tbl_df/tbl/data.frame | 1,599 × 12 | – |
People & History
10 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.5.13Latest
- 1.5.122019-12-18 · diff ↗
- unarchivedReturned to CRAN2019-12-18
- archivedRemoved from CRAN2019-12-17check problems were not corrected in time
- 1.5.112019-11-16 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.5.102019-02-28 · diff ↗
- 1.5.92018-11-12 · diff ↗
- 1.5.82018-09-24 · diff ↗
Package metadata
- First published
- 2018-04-03
- Total releases
- 10 / 8 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.0.2
- Bundled data
- 22 KB / 1 file
- Download size
- 134 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet