CARLA: A Python Library to Benchmark Algorithmic Recourse and Counterfactual Explanation Algorithms
-
Updated
Oct 2, 2023 - Python
CARLA: A Python Library to Benchmark Algorithmic Recourse and Counterfactual Explanation Algorithms
Repository for Deep Structural Causal Models for Tractable Counterfactual Inference
Code for "Counterfactual Token Generation in Large Language Models", Arxiv 2024.
Counterfactual SHAP: a framework for counterfactual feature importance
Code for "Counterfactual Explanations in Sequential Decision Making Under Uncertainty", NeurIPS 2021
Why And What If: Causal Inference for Everyone
A long-form article and practical framework for designing machine learning systems that warn instead of decide. Covers regimes vs decimals, levers over labels, reversible alerts, anti-coercion UI patterns, auditability, and the “Warning Card” template, so ML preserves human agency while staying useful under uncertainty.
Similarity-first interpretability studio for breast tumor samples: pick a case, find its closest “twins” (benign/malignant look-alikes), visualize neighborhood structure, compare feature fingerprints, and run minimal-change counterfactual edits toward a target class. Educational demo only, not for diagnosis.
A hyperintensional theorem prover for rapidly prototyping modular semantic theories
CLEF: Controllable Sequence Editing for Biological and Clinical Trajectories
cfid: R package for identifying counterfactuals.
Counterfactual Shapley Additive Explanation: Experiments
Repo of the paper "On the Robustness of Sparse Counterfactual Explanations to Adverse Perturbations"
Research project on generation of counterfactuals for eXplainable AI, based on Bayesian Generation
Source code for the BlackBoxNLP 2024 @ EMNLP paper "Enhancing adversarial robustness in Natural Language Inference using explanations"
GenPark AI Agent Skill - Pearl's 3-step counterfactual inference engine executing Abduction, Action (do-surgery), and Prediction to answer what-if causal inquiries.
GenPark AI Agent Skill - Pearl's 3-step counterfactual inference engine executing Abduction, Action (do-surgery), and Prediction to answer what-if causal inquiries.
Code for "Finding Counterfactually Optimal Action Sequences in Continuous State Spaces", NeurIPS 2023.
GenPark AI Agent Skill - Graph-theoretic backdoor criterion validator and minimal confounder adjustment set identifier ensuring unconfounded causal effect estimation.
GenPark AI Agent Skill - Structural Causal Model (SCM) DAG engine evaluating observational distributions and simulating Pearl's do-calculus interventions.
To associate your repository with the counterfactuals topic, visit your repo's landing page and select "manage topics."