interpret
Fit interpretable models. Explain blackbox machine learning.
What it is and what it does
InterpretML is a machine learning interpretability framework that unifies multiple techniques for understanding both interpretable models and blackbox predictions. It includes Explainable Boosting Machines (EBMs)—a modern take on Generalized Additive Models that combine gradient boosting with automatic interaction detection to achieve accuracy comparable to random forests and gradient boosted trees while remaining fully interpretable and editable by domain experts. The package also wraps blackbox explainers like SHAP, LIME, and partial dependence analysis.
You use it to train glassbox models directly or to attach explainers to existing blackbox models, then call explain_global() to understand feature contributions across your dataset or explain_local() to understand why the model made a specific prediction. It supports privacy-preserving variants (differentially private EBMs) and handles pandas dataframes, numpy arrays, and string data natively. The framework is designed for model debugging, feature engineering, fairness auditing, and regulatory compliance in high-risk domains like healthcare and finance.
Use it for:
- Train an Explainable Boosting Machine when you need both accuracy and full interpretability for regulatory applications.
- Debug a blackbox model by attaching SHAP or LIME explainers to understand which features drove predictions.
- Detect fairness issues by examining global feature importance and local explanations across demographic groups.
- Engineer features by analyzing which interactions the model learned and which features matter most.
- Satisfy compliance requirements in finance or healthcare by producing exact, auditable explanations.
- Compare multiple models side-by-side using show() to visualize and contrast their explanations.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
InterpretML provides interpretable machine learning models and explainers for blackbox systems, letting you understand both global model behavior and individual predictions.
Yes. InterpretML is actively maintained, has low install friction, and fills a genuine need for interpretable ML in regulated and high-stakes domains. The Explainable Boosting Machine is a well-researched technique with published benchmarks. The main caveat is the unclear license status—verify the actual license in the repository before deploying in proprietary or regulated contexts. For model debugging, fairness auditing, and compliance-driven work, this is a solid choice.
Install
interpret on PyPI
pip
pip install interpretuv
uv add interpretpoetry
poetry add interpretInstalling interpret
Before you install
Low install friction with a pure-Python wheel distribution. The package is actively maintained with a recent release and 6916 repository stars, indicating a stable, well-supported project.
License in practice
License status is unclear—no SPDX identifier or raw license text is available in the metadata. Verify the actual license in the repository before use in proprietary or regulated contexts.
Quickstart
pip install interpret
from interpret.glassbox import ExplainableBoostingClassifier
ebm = ExplainableBoostingClassifier()
ebm.fit(X_train, y_train)
ebm_global = ebm.explain_global()
Requires Python 3.10 or later; the package supports Python 3.10, 3.11, 3.12, 3.13, and 3.14.
Verify before relying
- Whether the unclear license status reflects a missing metadata entry or an actual licensing ambiguity affecting commercial use.
- Performance characteristics and scalability limits for datasets smaller than the 100 million sample threshold mentioned.
Package facts
| License | not declared (unclear) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — interpret-core |
| Maintenance | actively maintained — 150 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 407,758/month — #6,885 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: interpret-0.7.8-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
interpret-coreTrains interpretable machine learning models…
unclear · top 5,000 on PyPI
skope-rulesSkope-rules learns interpretable logical rules…
permissive · top 15,000 on PyPI
shapSHAP computes Shapley values to explain…
permissive · top 5,000 on PyPI
treeinterpreterDecomposes scikit-learn decision tree and…
permissive · top 15,000 on PyPI
limeLime explains individual predictions from any…
permissive · top 15,000 on PyPI
captumCaptum provides model interpretability…
permissive · top 15,000 on PyPI
aplrAPLR builds interpretable regression and…
permissive · top 15,000 on PyPI
dtreevizdtreeviz renders decision trees from…
permissive · top 15,000 on PyPI
cleanlabCleanlab automatically detects and helps fix…
permissive · top 15,000 on PyPI
transformer-lensTransformerLens loads and inspects the internal…
permissive · top 15,000 on PyPI