interpret-core
Fit interpretable models. Explain blackbox machine learning.
What it is and what it does
interpret-core is a unified framework for training interpretable models and explaining blackbox machine learning systems. It implements state-of-the-art techniques including Explainable Boosting Machines (EBMs)—a modern take on Generalized Additive Models that achieve accuracy comparable to random forests and gradient boosting while remaining fully interpretable—alongside explainers for existing models like SHAP, LIME, and partial dependence analysis. The package is built on numpy, pandas, scikit-learn, and joblib, making it a natural fit for standard data science workflows.
interpret-core addresses critical use cases in model debugging, feature engineering, fairness detection, regulatory compliance, and high-risk domains like healthcare and finance. You can train glassbox models directly, explain individual predictions, compare multiple models side-by-side, and optionally apply differential privacy for sensitive data. The framework handles pandas DataFrames and numpy arrays natively and includes support for pairwise interactions by default.
Use it for:
- Train an Explainable Boosting Machine for classification or regression when you need both accuracy and full model transparency.
- Debug why a blackbox model made a specific prediction using SHAP or LIME explainers on existing models.
- Detect fairness issues by analyzing global feature importance and local prediction explanations across demographic groups.
- Satisfy regulatory requirements in finance or healthcare by producing exact, auditable explanations for individual decisions.
- Engineer better features by understanding which variables drive model predictions and how they interact.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Trains interpretable machine learning models and explains blackbox predictions using techniques like Explainable Boosting Machines, SHAP, LIME, and decision trees.
Yes. interpret-core is actively maintained, has low install friction, and fills a genuine need for interpretable ML in regulated and high-stakes domains. The license treatment is unclear—verify the actual license before use in proprietary contexts—but the package itself is stable and has no known vulnerabilities. Install if you need interpretability alongside accuracy.
Install
interpret-core on PyPI
pip
pip install interpret-coreuv
uv add interpret-corepoetry
poetry add interpret-coreInstalling interpret-core
Before you install
Low friction installation with a pure Python wheel. Active maintenance with recent releases and solid community engagement (6916 stars). Four runtime dependencies—numpy, pandas, scikit-learn, joblib—are standard data science libraries.
License in practice
License treatment is unclear; the package metadata does not specify an SPDX identifier or raw license string. Verify the actual license terms in the repository before adopting in proprietary or regulated contexts.
Quickstart
pip install interpret-core
from interpret.glassbox import ExplainableBoostingClassifier
ebm = ExplainableBoostingClassifier()
ebm.fit(X_train, y_train)
from interpret import show
show(ebm.explain_global())
Requires Python 3.10 or later.
Verify before relying
- Whether the unclear license permits use in proprietary or commercial applications.
- Performance characteristics on datasets larger than typical in-memory workloads.
- Compatibility with GPU acceleration or distributed training frameworks beyond Azure SynapseML.
Package facts
| License | not declared (unclear) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — numpy, pandas, scikit-learn, joblib |
| Maintenance | actively maintained — 150 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 966,463/month — #4,618 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: interpret_core-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
interpretInterpretML provides interpretable machine…
unclear · top 15,000 on PyPI
limeLime explains individual predictions from any…
permissive · top 15,000 on PyPI
shapSHAP computes Shapley values to explain…
permissive · top 5,000 on PyPI
skope-rulesSkope-rules learns interpretable logical rules…
permissive · top 15,000 on PyPI
treeinterpreterDecomposes scikit-learn decision tree and…
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
xgboost-cpuXGBoost CPU-only gradient boosting library for…
permissive · top 15,000 on PyPI