Debugging library for inspecting ML classifiers and explaining predictions
Top 89.6% on sourcepulse
ELI5 is a Python library designed to help debug machine learning classifiers and explain their predictions. It targets data scientists and ML engineers working with various frameworks, offering insights into model behavior and facilitating easier debugging. The primary benefit is enhanced model interpretability and faster identification of issues.
How It Works
ELI5 provides a unified interface for explaining model internals and predictions across multiple ML libraries. It supports direct inspection of weights and feature importances for linear models, decision trees, and tree ensembles from scikit-learn, XGBoost, LightGBM, CatBoost, and lightning. For black-box models, it integrates LIME for text explanations and offers permutation importance. Explanations can be rendered as text, HTML, pandas DataFrames, or JSON for flexible integration.
Quick Start & Requirements
pip install eli5
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The library's support for non-text data and arbitrary black-box classifiers using LIME is noted as experimental.
3 months ago
Inactive