CARLA: A Python Library to Benchmark Algorithmic Recourse and Counterfactual Explanation Algorithms
counterfactuals 开源项目推荐(91 个)
counterfactuals 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 前 20
按 Star 数排序展示前 20 个 · GitHub 共 91 个仓库Repository for Deep Structural Causal Models for Tractable Counterfactual Inference
Code for "Counterfactual Token Generation in Large Language Models", CLeaR 2025.
Counterfactual SHAP: a framework for counterfactual feature importance
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.
Code for "Counterfactual Explanations in Sequential Decision Making Under Uncertainty", NeurIPS 2021
Why And What If: Causal Inference for Everyone
乳腺肿瘤样本的相似性优先解释工作室:选择一个病例,找到其最近的“孪生”(良性/恶性相似者),可视化邻里结构,比较特征指纹,并对目标类别进行最小变化的反事实编辑。仅限教育性演示,不用于诊断。
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"
BayCon: model-agnostic counterfactual explanations for ML models, found with Bayesian optimisation. Code and paper from IJCAI 2022.
Source code for the BlackBoxNLP 2024 @ EMNLP paper "Enhancing adversarial robustness in Natural Language Inference using explanations"
Code for "Finding Counterfactually Optimal Action Sequences in Continuous State Spaces", NeurIPS 2023.
Causal modelling with FitBit and Gluroo data for blood-glucose time-series evolution
Dynamics-Aligned Latent Imagination in Contextual World Models for Zero-Shot Generalization
A baseline genetic algorithm for the discovery of counterfactuals, implemented in Python for ease of use and heavily leveraging NumPy for speed.
Semantic Meaningfulness: Evaluating counterfactual approaches for real world plausibility
关于这个话题
- 清单取自 GitHub 话题页并按 Star 数排序,每次展示前 20 个项目;原始页面见 https://github.com/topics/counterfactuals。
- 该话题在 GitHub 上共有 91 个仓库, 本站收录的是其中最热门的 20 个,不是全量列表。
- Star / Fork 每日自动刷新一次,实时数据以 GitHub 为准。
- 当前 20 个项目累计 842 Star,覆盖 4 种主要语言,数据更新于 2026-11-07。
- 中文介绍来自 GitHub 官方话题说明(github/explore)的机器翻译,可点「查看原文」对照;译文缺失时会先展示原文。