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.1.tar.gz (5.3 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.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for shapG-0.1.tar.gz
Algorithm Hash digest
SHA256 c650908bb9bdbfb78700d6918871fe4557f0995b037ce7e228eae56816b1a2cb
MD5 98feabf99dfc39d57e786dd53bfc159f
BLAKE2b-256 1b68be995385a576b8742725854d67d519ff471864ebaa60ce77813ef8019832

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shapG-0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e486ecfff1dc7e5347532f0d98e2d70e8406af3123819c203475ff86f91ca81
MD5 1c9ea0bf119b6f89afc004305c7781b4
BLAKE2b-256 6c642d08bce8a1b588b2a2ebf7c07682e07efa84df4c7348286d4580c763ce00

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