Skip to main content

Microsoft Interpret Community SDK for Python

This package has been tested with Python 3.7, 3.8 and 3.9

The Interpret Community SDK builds on Interpret, an open source python package from Microsoft Research for training interpretable models, and helps to explain blackbox systems by adding additional extensions from the community to interpret ML models.

Interpret-Community is an experimental repository that hosts a wide range of community developed machine learning interpretability techniques. This repository makes it easy for anyone involved in the development of a machine learning system to improve transparency around their machine learning models. Data scientists, machine learning engineers, and researchers can easily add their own interpretability techniques via the set of extension hooks built into the peer repository, Interpret, and expand this repository to include their custom-made interpretability techniques.

Highlights of the package include:

  • The TabularExplainer can be used to give local and global feature importances
  • The best explainer is automatically chosen for the user based on the model
  • Local feature importances are for each evaluation row
  • Global feature importances summarize the most importance features at the model-level
  • The API supports both dense (numpy or pandas) and sparse (scipy) datasets
  • There are utilities provided to convert engineered explanations, based on preprocessed data before training a model, to raw explanations on the original dataset
  • For more advanced users, individual explainers can be used
  • The KernelExplainer, GPUKernelExplainer, PFIExplainer and MimicExplainer are for BlackBox models
  • The MimicExplainer is faster but less accurate than the KernelExplainer, and supports various surrogate model types
  • The TreeExplainer is for tree-based models
  • The LinearExplainer is for linear models
  • The DeepExplainer is for DNN tensorflow or pytorch models
  • The PFIExplainer can quickly compute global importance values
  • LIMEExplainer builds local linear approximations of the model's behavior by perturbing each instance
  • GPUKernelExplainer is GPU-accelerated implementation of SHAP's KernelExplainer as a part of RAPIDS's cuML library, and is optimized for GPU models, like those in cuML. It can be used with CPU-based estimators too.
  • An adapter to convert any feature importance values to an interpret-community style explanation

Please see the github website for the documentation and sample notebooks: https://github.com/interpretml/interpret-community

Auto-generated sphinx API documentation can be found here: https://interpret-community.readthedocs.io/en/latest/index.html

More information on the ExplanationDashboard can be found here: https://github.com/microsoft/responsible-ai-toolbox

Metadata

Release files for interpret-community 0.32.0

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

Source distribution (sdist)

Source distribution for interpret-community 0.32.0
File Size Uploaded
interpret_community-0.32.0.tar.gz 91.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for interpret-community 0.32.0
File Interpreter ABI Platform
interpret_community-0.32.0-py3-none-any.whl Python 3 none any Details

Total release size: 222.7 kB

Release files / interpret_community-0.32.0.tar.gz

Download URL interpret_community-0.32.0.tar.gz
Size 91.2 kB
Tags Source
SHA-256 checksum
How to use checksums
23fc09bc17f23da786927f178f999c221299d89303a8186acdfb7cadc90ab41b
BLAKE2b-256 checksum
How to use checksums
2c641a4339482fa2c5ba7d7bd8abd5ed288e0d691e97ab20a20ed34575daae6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / interpret_community-0.32.0-py3-none-any.whl

Download URL interpret_community-0.32.0-py3-none-any.whl
Size 131.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29c0100de72380d471c96847df43c98da3f3389225189006ffa9defcec15581c
BLAKE2b-256 checksum
How to use checksums
282c38802be7af5013177a3dfeca5ae6771fab920fd2e828f8d576a01afb142a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.32.0 This release

2 release files

0.31.0

2 release files

0.30.0

2 release files

0.29.0

2 release files

0.27.0

2 release files

0.26.0

2 release files

0.25.0

2 release files

0.24.2

2 release files

0.24.1

2 release files

0.24.0

2 release files

0.22.0

2 release files

0.21.0

2 release files

0.20.0

2 release files

0.19.3

2 release files

0.19.2

2 release files

0.19.1

2 release files

0.19.0

2 release files

0.18.1

2 release files

0.18.0

2 release files

0.17.2

2 release files

0.16.0

2 release files

0.15.4

2 release files

0.15.3

2 release files

0.15.1

2 release files

0.15.0

2 release files

0.14.4

2 release files

0.14.3

2 release files

0.14.2

2 release files

0.14.1

2 release files

0.13.0

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.2

2 release files

0.11.1

2 release files

0.11.0

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0.0

1 release file

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