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.
Metadata
Release files for ShapEV 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ShapEV-0.0.1.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ShapEV-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.0 kB
Release files / ShapEV-0.0.1.tar.gz
| Download URL | ShapEV-0.0.1.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6db2f536f41c02ba4b8522ee2355ace9027a1dddcf057ffba9ae60fcc1c1c308
|
|
BLAKE2b-256 checksum How to use checksums |
a13f91291c3ad83dbdbe4b260ec68ce1bda84f97c12d7c8df08ed5bcfefc93d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.7
|
Release files / ShapEV-0.0.1-py3-none-any.whl
| Download URL | ShapEV-0.0.1-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f00588b50af7879cd1e4377ab718b5acb61bfbe5e5032aaf0558b5661b44416
|
|
BLAKE2b-256 checksum How to use checksums |
dc3f3eec05cfc9095e5e21412564f1394211d6b89b00ee76d9039a37fe947b1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.7
|