Skip to main content

ExpyBox Documentation Status

ExpyBox is a Jupyter notebook toolbox for model interpretability/explainability. It lets you create interactive Jupyter notebooks to explain your model.

Documentation

Usage

This package is meant to be used inside of Jupyter notebook, other usage makes little to no sense. First you need to import and instantiate the ExpyBox class:

from expybox import ExpyBox
expybox = ExpyBox(train_data, predict_function, kernel_globals=globals())

Now you can use the supported interpretability methods like this (for list of supported methods refer to the documentation):

expybox.lime()

which creates a form: ExpyBox form example

In this form you can set up explained instance (if it's necessary for the selected method) and method parameters. After clicking on Run Interact the method will be executed and its output will be shown below the form.

You can then change the parameters or the explained instance and press Run Interact again which will rerun the method with new parameters.

You can find an example Jupyter notebook in examples folder.

Instalation

Because of alibi package ExpyBox requires 64-bit Python 3.7 or higher. It is also recommended to create separate virtual enviroment - you can use Pythons venv.

Otherwise the installation process is the same as for other packages, just use pip:

pip install expybox

Release files for expybox 1.0.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 expybox 1.0.1
File Size Uploaded
expybox-1.0.1.tar.gz 16.7 kB Details

Built distribution (wheel)

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

Total release size: 37.8 kB

Release files / expybox-1.0.1.tar.gz

Download URL expybox-1.0.1.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f8068cac94756468c66e8b6ee41b6c017ad3fdbe2fad059d0c8807ce2dd4ad10
BLAKE2b-256 checksum
How to use checksums
411370ea076692b836ee3bda687e678200d55d51e6bf754ed837d0f7d4590de0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.0

Release files / expybox-1.0.1-py3-none-any.whl

Download URL expybox-1.0.1-py3-none-any.whl
Size 21.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13483f1e45b38bbc11319e3e2380b16dd1fe39b8ce0b382fa9b8b092ec6d691f
BLAKE2b-256 checksum
How to use checksums
3f0d81721d5acfda485fa4cda93f746a47b197943a2f2a9e5852877397e6d704
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.0

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

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