Package: localModel 0.5

Image

Przemyslaw Biecek

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:Przemyslaw Biecek [aut, cre], Mateusz Staniak [aut], Krystian Igras [ctb], Alicja Gosiewska [ctb], Harel Lustiger [ctb], Willy Tadema [ctb]

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

On CRAN:

Conda:

6.73 score 14 stars 28 scripts 3.1k downloads 4 exports 45 dependencies

Last updated from:7cba8f3c33. Checks:9 OK. Indexed: yes.

TargetResultTotal timeArtifact
linux-devel-x86_64OK148
source / vignettesOK280
linux-release-x86_64OK194
macos-devel-arm64OK193
macos-release-arm64OK101
windows-develOK94
windows-releaseOK94
windows-oldrelOK92
wasm-releaseOK193

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

  • Image