#428428th of 433 in ML frameworks and libraries
xai
Python library for data imbalance and model bias analysis in tabular ML
Watch puts xai on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.xai is on your watch list. Its new releases and problems show there.
- Stars
- 1.3k
- License
- MIT
- Last commit
- Nov 2025
- Last release
- Nov 2025
- Language
- Python
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| Rank | Project | Score |
|---|---|---|
| #426 | pygamGeneralized Additive Models in Python with a scikit-learn-style API | 10 out of 100 |
| #427 | sumo-rlGymnasium and PettingZoo environments for RL traffic signal control in SUMO | 9 out of 100 |
| #429 | torchviewGraphviz visualizations of PyTorch model graphs with tensor shapes | 8 out of 100 |
| #430 | sklearn-crfsuitescikit-learn-style Python wrapper for CRFsuite sequence labeling | 7 out of 100 |
| #431 | drl-robot-navigationTD3 reinforcement learning for robot goal navigation in ROS Gazebo | 6 out of 100 |