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:

@article{zhao2024investigationcentralitymeasuresopinion,
      title={Investigation on 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}, 
}

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.12.0.tar.gz (6.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.12.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shapG-0.12.0.tar.gz
  • Upload date:
  • Size: 6.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.12.0.tar.gz
Algorithm Hash digest
SHA256 abb9b40e0420c96b3a7053be977f619a53464b5b646a20d8b24b1500830d2b64
MD5 a5608ac1cd3069bf293ebde2e560f665
BLAKE2b-256 f9f75a758899e4d1a2a6ae1a8c9cecb5da5e149174e8d04584e4477b01edcd72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shapG-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 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.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86b79be60896050625b752c77c9d3fba7917e065557d8e059c7444ad0e888115
MD5 e9031fe769897229d09ad1c2aa4b9c97
BLAKE2b-256 39a1aa62000b1cad7a07db60a704703a99b1f5e16a3b54c9dfd180eb0f4131b3

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