#428428th of 433 in ML frameworks and libraries

xai

Python library for data imbalance and model bias analysis in tabular ML

Stars
1.3k
License
MIT
Last commit
Nov 2025
Last release
Nov 2025
Language
Python
Stars, last 29 weeks+39
7 May 2026: 1,231 stars14 May 2026: 1,231 stars21 May 2026: 1,235 stars28 May 2026: 1,236 stars4 Jun 2026: 1,237 stars11 Jun 2026: 1,239 stars18 Jun 2026: 1,239 stars25 Jun 2026: 1,241 stars2 Jul 2026: 1,242 stars9 Jul 2026: 1,246 stars16 Jul 2026: 1,249 stars23 Jul 2026: 1,250 stars30 Jul 2026: 1,251 stars6 Aug 2026: 1,252 stars13 Aug 2026: 1,254 stars20 Aug 2026: 1,256 stars27 Aug 2026: 1,257 stars3 Sept 2026: 1,257 stars10 Sept 2026: 1,259 stars17 Sept 2026: 1,260 stars24 Sept 2026: 1,260 stars1 Oct 2026: 1,261 stars8 Oct 2026: 1,264 stars15 Oct 2026: 1,265 stars22 Oct 2026: 1,268 stars29 Oct 2026: 1,269 stars5 Nov 2026: 1,270 stars12 Nov 2026: 1,270 stars19 Nov 2026: 1,270 stars26 Nov 2026: 1,270 stars

1,231 on 7 May 20261,270 on 26 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

XAI is a Python library for explainability checks on tabular machine learning. It plots class imbalances, balances datasets by up/downsampling, builds balanced train/test splits, and computes permutation feature importance. For trained models it plots metrics, ROC curves and confusion matrices broken down by protected columns such as gender or ethnicity. The README marks it ALPHA (version badge 0.0.5).

Who it is for: ML engineers auditing tabular datasets and classifiers for bias

Strengths

  • Metrics and ROC plots can be split by one or several protected columns
  • Covers data analysis and model evaluation in one API, with a bundled census dataset
  • Feature importance takes any scoring function, so it is not tied to one framework
  • MIT licensed, on PyPI, with docs and an example notebook

Weaknesses

  • Marked ALPHA; badges list Python 3.5 to 3.7 only
  • Production monitoring is named as a step but no usage is shown
  • Aimed at tabular data; no LLM, text or image explainability shown
  • README snippets are partial and use undefined names like x_train and build_model

What it needs

  • no GPU
  • Needs uv, Jupyter (for the example notebook)
  • Models: model-agnostic via user-supplied predictions and scoring function

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#426pygamGeneralized Additive Models in Python with a scikit-learn-style API1k starsApache-2.010 out of 100
#427sumo-rlGymnasium and PettingZoo environments for RL traffic signal control in SUMO1.1k starsMIT9 out of 100
#429torchviewGraphviz visualizations of PyTorch model graphs with tensor shapes1.1k starsMIT8 out of 100
#430sklearn-crfsuitescikit-learn-style Python wrapper for CRFsuite sequence labeling441 starsno license7 out of 100
#431drl-robot-navigationTD3 reinforcement learning for robot goal navigation in ROS Gazebo1.4k starsMIT6 out of 100