peal.explainers.no_generator_counterfactual_explainers¶
Counterfactual explainers that need no PEAL generator.
Currently this holds DiCEExplainer, a wrapper around the vendored
dice_ml library (peal/dependencies/DiCE) for tabular predictors. It
produces counterfactuals directly in feature space and returns them in the
same batch-dict layout as the generator-based CounterfactualExplainer
(x_counterfactual_list, y_target_end_confidence_list, …) so that
adaptors such as CFKD can consume it interchangeably.
Classes
Explainer wrapper for DiCE (Diverse Counterfactual Explanations) https://arxiv.org/pdf/1905.07697 |
|
Config of |