Comparison
interpret vs lime vs shap
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Fit interpretable models. Explain blackbox machine learning.
Maintained. Last release 8 months ago, commits in 6 of the last 26 weeks. Weaker on contributor spread.
$
pip install interpretLocal 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).
- interpret is growing fastest: downloads +44% over the last month.
- Safe default for a new project: shap.