Converter and converted model

R6 class for converting a passed model into a torch-based model with all methods pre-implemented in each layer

Converter

Converter of an artificial neural network

ConvertedModel()

Converted torch-based model

Feature attribution methods

All implemented feature attribution methods as R6 classes applying the corresponding method to the converted model during initialization

Gradient

Vanilla Gradient and Gradient\(\times\)Input

SmoothGrad

SmoothGrad and SmoothGrad\(\times\)Input

IntegratedGradient

Integrated Gradients

ExpectedGradient

Expected Gradients

LRP

Layer-wise relevance propagation (LRP)

DeepLift

Deep learning important features (DeepLift)

DeepSHAP

Deep Shapley additive explanations (DeepSHAP)

ConnectionWeights

Connection weights method

LIME

Local interpretable model-agnostic explanations (LIME)

SHAP

Shapley values

convert() run_grad() run_smoothgrad() run_intgrad() run_expgrad() run_lrp() run_deeplift() run_deepshap() run_cw() run_lime() run_shap()

Syntactic sugar for object construction

Visualization and getting results

Functions and S4 classes for getting and visualizing the results

get_result()

Get the result of an interpretation method

plot_global()

Get the result of an interpretation method

innsight_ggplot2

S4 class for ggplot2-based plots

innsight_plotly

S4 class for plotly-based plots

innsight_ggplot2

Generic functions for the S4 class innsight_ggplot2

print(<innsight_ggplot2>) show(<innsight_ggplot2>) plot(<innsight_ggplot2>)

Generic print, plot and show for innsight_ggplot2

`[`(<innsight_ggplot2>,<ANY>,<ANY>,<ANY>) `[[`(<innsight_ggplot2>) `[<-`(<innsight_ggplot2>,<ANY>,<ANY>,<ANY>) `[[<-`(<innsight_ggplot2>)

Indexing plots of innsight_ggplot2

`+`(<innsight_ggplot2>,<ANY>)

Generic add function for innsight_ggplot2

innsight_plotly

Generic functions for the S4 class innsight_plotly

print(<innsight_plotly>) show(<innsight_plotly>) plot(<innsight_plotly>)

Generic print, plot and show for innsight_plotly

`[`(<innsight_plotly>,<ANY>,<ANY>,<ANY>) `[[`(<innsight_plotly>)

Indexing plots of innsight_plotly

Superclasses and package information

Super classes intended only for the user’s information

innsight innsight-package

Get the insight of your neural network

AgnosticWrapper

Super class for model-agnostic interpretability methods

GradientBased

Super class for gradient-based interpretation methods

InterpretingMethod

Super class for interpreting methods