Skip to main content

Shapley values package

Project description

Shapley values

An open-source library of Shapley value algorithms in Python.

For example of "Shapley values" algorithm you can enter to: example of "Shapley values"

Installation

clone https://github.com/LIADN7/shapley_values.git
cd shapley_values
pip install -r requirements.txt
pip install -e .

To verify that everything was installed correctly, run one of the test programs,

python shapley_values/tests/test_shap.py
python shapley_values/tests/test_x_shapley.py

Other algorithms implemented:

X_Shapley

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shapley_values-1.0.1.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shapley_values-1.0.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file shapley_values-1.0.1.tar.gz.

File metadata

  • Download URL: shapley_values-1.0.1.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for shapley_values-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f90e6be23c46e1e274b2c9cbb722099a19d1010e4858988829e94789701ab921
MD5 cb69cf7e7f8b83f3869169a27e9b6384
BLAKE2b-256 8759a0ff6afdf6b0a35789dcdcd4376270af1c32f7814cc83aa5ea8bbbb08102

See more details on using hashes here.

File details

Details for the file shapley_values-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: shapley_values-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for shapley_values-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c2db77b8c9713be71e5969a073440bc7f15af3c94ee28a8a47b96c0a683ff73c
MD5 5c795f5b3e20b41255350ad67f918f11
BLAKE2b-256 93eb01b20dbbb7981037a06c8327a8addbbc5f791f2534dcb691b3ef2495b95b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page