Skip to main content

Explainbench: An Open-Source Toolkit for Interpretable Machine Learning

Explainbench is a Python toolkit that makes powerful ML interpretability techniques like SHAP, LIME, counterfactuals, and global surrogate models accessible and usable — especially for high-stakes, public-sector applications.

Features

  • Unified Interface for SHAP, LIME, and DiCE
  • Fairness & Explainability Metrics (Disparate Impact, Fidelity, Consistency)
  • Preloaded Datasets (COMPAS, Adult Income, etc.)
  • Interactive Visualizations with Streamlit and Plotly
  • Notebook Examples for quick understanding and classroom use

Why It Matters

As ML systems are increasingly used in criminal justice, healthcare, and finance, it's crucial that we can explain, audit, and challenge their decisions. Explainbench provides transparent tools for evaluating black-box models in real-world, socially relevant contexts.

Installation

pip install explainbench

Metadata

Release files for explainbench 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for explainbench 0.1.1
File Size Uploaded Provenance Actions
explainbench-0.1.1.tar.gz 8.6 kB Without provenance Details for explainbench-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for explainbench 0.1.1
File Interpreter ABI Platform Actions
explainbench-0.1.1-py3-none-any.whl Python 3 none any Details for explainbench-0.1.1-py3-none-any.whl

Total release size: 13.5 kB

Release files / explainbench-0.1.1.tar.gz

Download URL explainbench-0.1.1.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4e792a22cc2ce38cb146955271796759f27dc0fc0ffc1af18b88201373a6e1b3
BLAKE2b-256 checksum
How to use checksums
dbdb16286e7f3e7e8631cc8f45b19b6a45f98d1c8ca9fcac568c81517881e034
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Release files / explainbench-0.1.1-py3-none-any.whl

Download URL explainbench-0.1.1-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a649cf61cd60401bb8a765fb534f4421749bd2b7593c54d91f7e87688846bb5d
BLAKE2b-256 checksum
How to use checksums
a2131735f7f8a7beb63209effc3559429766b7528bcb9940fb2d19e4b8034225
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Security for explainbench 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page