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.6)localModel_0.5.zip(r-4.5)localModel_0.5.zip(r-4.4)
localModel_0.5.tgz(r-4.6-any)localModel_0.5.tgz(r-4.5-any)
localModel_0.5.tar.gz(r-4.6-any)localModel_0.5.tar.gz(r-4.5-any)
localModel_0.5.tgz(r-4.5-emscripten)
localModel.pdf |localModel.html✨
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 | Total time | Artifact |
|---|---|---|---|
| linux-devel-x86_64 | OK | 148 | |
| source / vignettes | OK | 280 | |
| linux-release-x86_64 | OK | 194 | |
| macos-devel-arm64 | OK | 193 | |
| macos-release-arm64 | OK | 101 | |
| windows-devel | OK | 94 | |
| windows-release | OK | 94 | |
| windows-oldrel | OK | 92 | |
| wasm-release | OK | 193 |
Exports:gaussian_kernelidentity_kernelindividual_surrogate_modelplot_interpretable_feature
Dependencies:clicodetoolscpp11DALEXdigestdoFuturefarverforeachFormulafuturefuture.applyggplot2glmnetglobalsgluegridExtragtableiBreakDowningredientsinumisobanditeratorskernelshaplabelinglatticelibcoinlifecyclelistenvMatrixmvtnormparallellypartykitR6RColorBrewerRcppRcppEigenrlangrpartS7scalesshapesurvivalvctrsviridisLitewithr
Explaining classification models with localModel package
Rendered fromclassification_example.Rmdusingknitr::rmarkdownon Dec 18 2025.Last update: 2019-04-10
Started: 2018-11-16
Introduction to localModel package
Rendered fromregression_example.Rmdusingknitr::rmarkdownon Dec 18 2025.Last update: 2019-04-10
Started: 2018-11-16
Methodology behind localModel package
Rendered fromlocalModel_methodology.Rmdusingknitr::rmarkdownon Dec 18 2025.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 |
