Package: localModel 0.5
localModel: LIME-Based Explanations with Interpretable Inputs Based on Ceteris Paribus Profiles
Local explanations of machine learning models describe, how features contributed to a single prediction. This package implements an explanation method based on LIME (Local Interpretable Model-agnostic Explanations, see Tulio Ribeiro, Singh, Guestrin (2016) <doi:10.1145/2939672.2939778>) in which interpretable inputs are created based on local rather than global behaviour of each original feature.
Authors:
localModel_0.5.tar.gz
localModel_0.5.zip(r-4.7)localModel_0.5.zip(r-4.6)localModel_0.5.zip(r-4.5)
localModel_0.5.tgz(r-4.6-any)localModel_0.5.tgz(r-4.5-any)
localModel_0.5.tar.gz(r-4.7-any)localModel_0.5.tar.gz(r-4.6-any)
localModel_0.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
localModel/json (API)
NEWS
| # Install 'localModel' in R: |
| install.packages('localModel', repos = c('https://modeloriented.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/modeloriented/localmodel/issues
Last updated from:7cba8f3c33. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 177 | ||
| source / vignettes | OK | 192 | ||
| linux-release-x86_64 | OK | 145 | ||
| macos-release-arm64 | OK | 87 | ||
| macos-oldrel-arm64 | OK | 122 | ||
| windows-devel | OK | 93 | ||
| windows-release | OK | 97 | ||
| windows-oldrel | OK | 88 | ||
| wasm-release | OK | 125 |
Exports:gaussian_kernelidentity_kernelindividual_surrogate_modelplot_interpretable_feature
Dependencies:clicodetoolscpp11DALEXdigestdoFuturefarverforeachFormulafuturefuture.applyggplot2glmnetglobalsgluegridExtragtableiBreakDowningredientsinumisobanditeratorskernelshaplabelinglatticelibcoinlifecyclelistenvMatrixmvtnormparallellypartykitR6RColorBrewerRcppRcppEigenrlangrpartS7scalesshapesurvivalvctrsviridisLitewithr
Explaining classification models with localModel package
Rendered fromclassification_example.Rmdusingknitr::rmarkdownon Jun 16 2026.Last update: 2019-04-10
Started: 2018-11-16
Introduction to localModel package
Rendered fromregression_example.Rmdusingknitr::rmarkdownon Jun 16 2026.Last update: 2019-04-10
Started: 2018-11-16
Methodology behind localModel package
Rendered fromlocalModel_methodology.Rmdusingknitr::rmarkdownon Jun 16 2026.Last update: 2018-12-21
Started: 2018-12-21
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| LIME kernel from the original article with sigma = 1. | gaussian_kernel |
| LIME kernel that treats all observations as equally similar to the observation of interest. | identity_kernel |
| LIME-like explanations based on Ceteris Paribus curves | individual_surrogate_model |
| localModel: LIME-like explanations with interpretable features based on Ceteris Paribus profiles | localModel |
| Plot Ceteris Paribus Profile and discretization | plot_interpretable_feature |
| Generic plot function for local surrogate explainers | plot.local_surrogate_explainer |
| Generic print function for local surrogate explainers | print.local_surrogate_explainer |
