Package: localICE 0.1.1

Martin Walter

localICE: Local Individual Conditional Expectation

Local Individual Conditional Expectation ('localICE') is a local explanation approach from the field of eXplainable Artificial Intelligence (XAI). localICE is a model-agnostic XAI approach which provides three-dimensional local explanations for particular data instances. The approach is proposed in the master thesis of Martin Walter as an extension to ICE (see Reference). The three dimensions are the two features at the horizontal and vertical axes as well as the target represented by different colors. The approach is applicable for classification and regression problems to explain interactions of two features towards the target. For classification models, the number of classes can be more than two and each class is added as a different color to the plot. The given instance is added to the plot as two dotted lines according to the feature values. The localICE-package can explain features of type factor and numeric of any machine learning model. Automatically supported machine learning packages are 'mlr', 'randomForest', 'caret' or all other with an S3 predict function. For further model types from other libraries, a predict function has to be provided as an argument in order to get access to the model. Reference to the ICE approach: Alex Goldstein, Adam Kapelner, Justin Bleich, Emil Pitkin (2013) <arxiv:1309.6392>.

Authors:Martin Walter [aut, cre]

localICE_0.1.1.tar.gz
localICE_0.1.1.zip(r-4.5)localICE_0.1.1.zip(r-4.4)localICE_0.1.1.zip(r-4.3)
localICE_0.1.1.tgz(r-4.4-any)localICE_0.1.1.tgz(r-4.3-any)
localICE_0.1.1.tar.gz(r-4.5-noble)localICE_0.1.1.tar.gz(r-4.4-noble)
localICE_0.1.1.tgz(r-4.4-emscripten)localICE_0.1.1.tgz(r-4.3-emscripten)
localICE.pdf |localICE.html
localICE/json (API)

# Install 'localICE' in R:
install.packages('localICE', repos = c('https://viadee.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/viadee/localice/issues

On CRAN:

aiexplainable-aiggplotmachine-learningvisualization

3.54 score 7 stars 3 scripts 127 downloads 1 exports 30 dependencies

Last updated 5 years agofrom:32002f76f9. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-winNOTENov 02 2024
R-4.5-linuxNOTENov 02 2024
R-4.4-winNOTENov 02 2024
R-4.4-macNOTENov 02 2024
R-4.3-winNOTENov 02 2024
R-4.3-macNOTENov 02 2024

Exports:localICE

Dependencies:backportscheckmateclicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr