PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Counterfactual Explanations Python Packages

Python packages with the GitHub topic counterfactual-explanations. Sorted by relevance, with stars and monthly downloads.
guillermo-navas-palencia
optbinning

Optimal binning: monotonic binning with constraints. Support batch & stream optimal binning. Scorecard modelling and counterfactual explanations.

292K 529 116
interpretml
dice-ml

Generate Diverse Counterfactual Explanations for any machine learning model.

39K 2K 233
sbobek
acfx

Actionable Counterfactual eXplanations

2K 2 1
andreArtelt
ceml

CEML - Counterfactuals for Explaining Machine Learning models - A Python toolbox

1K 47 13
b-bayrak
ceval

CEval is a Python package for evaluating the quality of counterfactual explanations produced by any post-hoc XAI (Explainable AI) method. It computes 14 established metrics with a single call and works with diverse model architecture.

636 0 0
birkhoffg
cfnet

Recourse Explanation Library in JAX

434 2 1
carla-recourse
carla-recourse

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

409 303 65
sbobek
lux-explainer

Local Universal Rule-based Explanations

402 13 6
BogdanTurbal
ellice

An efficient + provably robust implementation of algorithmic recourse via Rashomon sets in PyTorch & Scikit-Learn (NeurIPS '25 Spotlight)

373 2 0
rmazzine
cfnow

Easiest way to generate counterfactual explanations

324 12 0
swarna-kpaul
genfact

Counterfactual causal analysis

265 1 2
xiaohk
gamcoach

Generating counterfactual explanations for GAMs

208 20 3
kuppireddybhageerathareddy1110
aizenx-xai

AizenX - Explainable AI toolkit for model interpretability and fairness

199 0 0
wmonteiro92
xmoai

eXplainable Artificial Intelligence using Multiobjective Optimization

120 2 0
wangyongjie-ntu
cfai

The package for counterfactual explanations on Pytorch platform

94 53 9
    • Data from PyPI, GitHub, ClickHouse, and BigQuery