Skip to main content

A library to compute Shapley values in graphs.

Project description

ShapG: a fast and exactly approach to approximate the Shaple value on graph

If you find this code useful in your research, please consider citing:

  1. For centralities measures:
    @article{zhao2024centralitymeasuresopiniondynamics,
          title={Centrality measures and opinion dynamics in two-layer networks with replica nodes}, 
          author={Chi Zhao and Elena Parilina},
          year={2024},
          eprint={2406.18780},
          archivePrefix={arXiv},
          primaryClass={physics.soc-ph},
          journal={arXiv preprint arXiv:2406.18780},
          url={https://arxiv.org/abs/2406.18780}, 
    }
    
  2. For the new method for explanable ai:
    @article{zhao2024shapgnewfeatureimportance,
          title={ShapG: new feature importance method based on the Shapley value}, 
          author={Chi Zhao and Jing Liu and Elena Parilina},
          year={2024},
          eprint={2407.00506},
          archivePrefix={arXiv},
          primaryClass={cs.AI},
          journal={arXiv preprint arXiv:2407.00506},
          url={https://arxiv.org/abs/2407.00506}, 
    }
    

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

shapG-0.13.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

shapG-0.13-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file shapG-0.13.tar.gz.

File metadata

  • Download URL: shapG-0.13.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.13

File hashes

Hashes for shapG-0.13.tar.gz
Algorithm Hash digest
SHA256 c497b756e342d06ac5a348c4bd33cc2f24134ee2c1e42e2d4eb260d6f0df01a8
MD5 e55fab875610c8400c90d5f7f45222ae
BLAKE2b-256 49a096bfa6154c09e54de8be18621c5363ad65ca02256bbe90d960ef55b00413

See more details on using hashes here.

File details

Details for the file shapG-0.13-py3-none-any.whl.

File metadata

  • Download URL: shapG-0.13-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.13

File hashes

Hashes for shapG-0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 b30ef59a8ef713567dabbd5a390e1a943ac737ec6ecd843058261e67d919d84f
MD5 d0bea2511c45accbec00a52e4c054aa8
BLAKE2b-256 77717c385ac5cf3ab2d2fbeb03f5371ef3ae2034a196838fde0ea355cc0ee5b2

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