#144 · Primary category: MLOps & Evaluation

xai

ai artificial-intelligence bias bias-evaluation downsampling evaluation explainability explainable-ai explainable-ml feature-importance imbalance interpretability machine-learning machine-learning-explainability ml upsampling xai xai-library

XAI - An eXplainability toolbox for machine learning

Project last updated:11/29/25

GitHub Stars

1.3K

Forks

187

Contributors

3

License

MIT

Why we included this project

Teams shipping machine learning models into regulated settings like lending or healthcare need a practical way to spot where a model performs differently across protected groups. This library bundles the essentials into one importable package: it flags class imbalances on protected columns, rebalances data with upsampling or downsampling, computes permutation feature-importance scores, and draws ROC, precision-recall, and metric plots broken down by demographic groups. The probability-threshold tooling is useful when you want to reason about where a manual-review step adds value instead of blindly trusting a single cutoff. It follows the three-stage loop of data analysis, model evaluation, and production monitoring, so it drops into an existing workflow without a heavyweight platform. Data scientists and ML engineers checking bias or explainability early in a project will find the quickstart examples and bundled census dataset make it easy to try these patterns on their own data.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category