ILocalExplainer<T, TExplanation>
Interfaces · AiDotNet.Interfaces
Interface for explainers that provide local (per-instance) explanations.
Implements: IModelExplainer<T>
Known implementations: AnchorExplainer<T>, AttentionVisualizationExplainer<T>, ContrastiveExplainer<T>, CounterfactualExplainer<T>, DeepLIFTExplainer<T>, DeepSHAPExplainer<T>, DiCEExplainer<T>, FeatureAblationExplainer<T>, GradCAMExplainer<T>, GradientSHAPExplainer<T>, GuidedBackpropExplainer<T>, GuidedGradCAMExplainer<T>, InputXGradientExplainer<T>, IntegratedGradientsExplainer<T>, LIMEExplainer<T>, LayerGradCAMExplainer<T>, LayerwiseRelevancePropagationExplainer<T>, OcclusionExplainer<T>, PrototypeExplainer<T>, SHAPExplainer<T>, SaliencyMapExplainer<T>, TreeSHAPExplainer<T>
Methods
| Method | Summary |
|---|---|
TExplanation Explain(Vector<T> instance) |
Explains a single prediction. |
TExplanation[] ExplainBatch(Matrix<T> instances) |
Explains multiple predictions. |