Skip to main content

A package for identifying Equivalent Value based on joint SHAP values

Project description

ShapEV

A package for identifying Equivalent Value based on joint SHAP values.

ShapEV is an python package that identifies Equivalent Value among features based on cooperative game theory. By leveraging SHAP values, ShapEV decomposes feature contributions and their interactions, defining joint SHAP values to capture combined feature effects. For more details, refer to the original publication: Joint Model Interpretation (JMI).

An Equivalent Value is proposed based on the joint SHAP value, reflecting each feature's overall contribution to the regression target. ShapEV applies this equivalent value to represent the collective behavior of interacting features, allowing users to substitute original individual features with a unified Equivalent Value.

On the modified dataset, ShapEV calculates the contribution of the proposed Equivalent Value by comparing it to SHAP contributions. This validation confirms that, within the SHAP framework, the equivalent value linearly correlates with the target when showing high correlation.

About

Maintained by Bin Cao. Please feel free to open issues in the Github or contact Bin Cao (bcao686@connect.hkust-gz.edu.c) in case of any problems/comments/suggestions in using the code.

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

ShapEV-0.0.1.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

ShapEV-0.0.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file ShapEV-0.0.1.tar.gz.

File metadata

  • Download URL: ShapEV-0.0.1.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for ShapEV-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6db2f536f41c02ba4b8522ee2355ace9027a1dddcf057ffba9ae60fcc1c1c308
MD5 cf1c2a636fbea19e1218e5786c99b94b
BLAKE2b-256 a13f91291c3ad83dbdbe4b260ec68ce1bda84f97c12d7c8df08ed5bcfefc93d1

See more details on using hashes here.

File details

Details for the file ShapEV-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: ShapEV-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for ShapEV-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f00588b50af7879cd1e4377ab718b5acb61bfbe5e5032aaf0558b5661b44416
MD5 121ffd75e257e6af9ab539314c2c49b9
BLAKE2b-256 dc3f3eec05cfc9095e5e21412564f1394211d6b89b00ee76d9039a37fe947b1a

See more details on using hashes here.

Supported by

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