skillfed

interpret

Fit interpretable models. Explain blackbox machine learning.

interpret v0.7.8 407.8K downloads/30d#6,885 on PyPI6,916
License unclear Active released

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 interpret

uv

uv add interpret

poetry

poetry add interpret

Installing 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

Development Status :: 5 - Production/StableOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: Artificial Intelligence

Tags

interpretable machine learning modelsexplain blackbox model predictionsexplainable boosting machinemodel interpretability and explainabilityfeature importance analysisglassbox vs blackbox modelsmodel debugging and fairness
model-interpretabilityexplainabilityfairness-auditing

More Artificial Intelligence packages