peal.explainers.counterfactual_explainer.DAEdistillConfig

class peal.explainers.counterfactual_explainer.DAEdistillConfig[source]

Bases: ExplainerConfig

This class defines the config of the SCE explainer.

Methods

Attributes

data_config

The data config used for the counterfactual search

distilled_predictor

The config for the predictor distillation.

explainer_type

The type of explanation that shall be used.

generator

The generator that shall be used for the counterfactual search

linesearch_factors

predictor_path

The path to the predictor that shall be explained.

sampler

explainer_type: str = 'DAEdistillConfig'

The type of explanation that shall be used.

predictor_path: str | None = None

The path to the predictor that shall be explained.

generator: None | GeneratorConfig = None

The generator that shall be used for the counterfactual search

data_config: None | DataConfig = None

The data config used for the counterfactual search

distilled_predictor: None | str | dict = None

The config for the predictor distillation.

linesearch_factors: list = ['dynamic']
sampler: None | dict = None