Comparison
lime vs shap
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Local Interpretable Model-Agnostic Explanations for machine learning classifiers
Likely abandoned. No release or commit for years (last release over 6 years ago).
$
pip install limeA unified approach to explain the output of any machine learning model.
Actively maintained. Last release 6 weeks ago, commits in 23 of the last 26 weeks. A safe choice.
$
pip install shapIn short
- lime looks abandoned: avoid it for new projects.
- shap is the most used: 9.7M downloads a month, 29× more than lime.
- shap also has the best Pythie’s Index (85).
- Safe default for a new project: shap.