counterfactuals: An R Package for Counterfactual Explanation Methods

04/13/2023
by   Susanne Dandl, et al.
6

Counterfactual explanation methods provide information on how feature values of individual observations must be changed to obtain a desired prediction. Despite the increasing amount of proposed methods in research, only a few implementations exist whose interfaces and requirements vary widely. In this work, we introduce the counterfactuals R package, which provides a modular and unified R6-based interface for counterfactual explanation methods. We implemented three existing counterfactual explanation methods and propose some optional methodological extensions to generalize these methods to different scenarios and to make them more comparable. We explain the structure and workflow of the package using real use cases and show how to integrate additional counterfactual explanation methods into the package. In addition, we compared the implemented methods for a variety of models and datasets with regard to the quality of their counterfactual explanations and their runtime behavior.

READ FULL TEXT

page 14

page 18

page 24

research
08/08/2021

TDLS: A Top-Down Layer Searching Algorithm for Generating Counterfactual Visual Explanation

Explanation of AI, as well as fairness of algorithms' decisions and the ...
research
06/10/2023

Calculating and Visualizing Counterfactual Feature Importance Values

Despite the success of complex machine learning algorithms, mostly justi...
research
08/02/2021

CARLA: A Python Library to Benchmark Algorithmic Recourse and Counterfactual Explanation Algorithms

Counterfactual explanations provide means for prescriptive model explana...
research
07/11/2020

Fast Real-time Counterfactual Explanations

Counterfactual explanations are considered, which is to answer why the p...
research
05/27/2022

CEBaB: Estimating the Causal Effects of Real-World Concepts on NLP Model Behavior

The increasing size and complexity of modern ML systems has improved the...
research
08/18/2021

CARE: Coherent Actionable Recourse based on Sound Counterfactual Explanations

Counterfactual explanation methods interpret the outputs of a machine le...
research
06/07/2022

GRETEL: A unified framework for Graph Counterfactual Explanation Evaluation

Machine Learning (ML) systems are a building part of the modern tools wh...

Please sign up or login with your details

Forgot password? Click here to reset