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.5)localModel_0.5.zip(r-4.4)localModel_0.5.zip(r-4.3)
localModel_0.5.tgz(r-4.4-any)localModel_0.5.tgz(r-4.3-any)
localModel_0.5.tar.gz(r-4.5-noble)localModel_0.5.tar.gz(r-4.4-noble)
localModel_0.5.tgz(r-4.4-emscripten)localModel_0.5.tgz(r-4.3-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 3 years agofrom:7cba8f3c33. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 08 2024 |
R-4.5-win | OK | Nov 08 2024 |
R-4.5-linux | OK | Nov 08 2024 |
R-4.4-win | OK | Nov 08 2024 |
R-4.4-mac | OK | Nov 08 2024 |
R-4.3-win | OK | Nov 08 2024 |
R-4.3-mac | OK | Nov 08 2024 |
Exports:gaussian_kernelidentity_kernelindividual_surrogate_modelplot_interpretable_feature
Dependencies:clicodetoolscolorspaceDALEXfansifarverforeachFormulaggplot2glmnetgluegridExtragtableiBreakDowningredientsinumisobanditeratorskernelshaplabelinglatticelibcoinlifecyclemagrittrMASSMatrixmgcvmunsellmvtnormnlmepartykitpillarpkgconfigR6RColorBrewerRcppRcppEigenrlangrpartscalesshapesurvivaltibbleutf8vctrsviridisLitewithr
Explaining classification models with localModel package
Rendered fromclassification_example.Rmd
usingknitr::rmarkdown
on Nov 08 2024.Last update: 2019-04-10
Started: 2018-11-16
Introduction to localModel package
Rendered fromregression_example.Rmd
usingknitr::rmarkdown
on Nov 08 2024.Last update: 2019-04-10
Started: 2018-11-16
Methodology behind localModel package
Rendered fromlocalModel_methodology.Rmd
usingknitr::rmarkdown
on Nov 08 2024.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 |