PyXAI: An XAI Library for Tree-Based Models

PyXAI: An XAI Library for Tree-Based Models

Gilles Audemard, Jean-Marie Lagniez, Pierre Marquis, Nicolas Szczepanski

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence
Demo Track. Pages 8601-8605. https://doi.org/10.24963/ijcai.2024/989

PyXAI (Python eXplainable AI) is a Python library designed for providing explanations and cor- recting tree-based Machine Learning (ML) models. It is suited to decision trees, random forests, and boosted trees, when used for regression or classification tasks. In contrast to many model-agnostic approaches to XAI, PyXAI exploits the model it- self to generate explanations, ensuring them to be faithful. PyXAI includes several algorithms for the generation of explanations, which can be abductive or contrastive. PyXAI also includes algorithms for correcting tree-based models when their predictions conflict with pieces of user knowledge.
Keywords:
Machine Learning: ML: Explainable/Interpretable machine learning
AI Ethics, Trust, Fairness: ETF: Explainability and interpretability