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.2.tar.gz (7.5 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.2-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shapG-0.13.2.tar.gz
  • Upload date:
  • Size: 7.5 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.2.tar.gz
Algorithm Hash digest
SHA256 2120398857c67134e8e1655edd84f6cd57aef64eb2dcf2dc78d5550ce9ad2278
MD5 d476cf1b71613dc71896a23726bf4b63
BLAKE2b-256 09859004bf4d0863303a130516e55c02f2aa256594d49a8af30b9b5b198b01d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shapG-0.13.2-py3-none-any.whl
  • Upload date:
  • Size: 7.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ffc2506c5af78af4d3be52c1235ac167a0d22a11653465bb8970637a3330650d
MD5 cb135a9b36e1078fa92b634d77980fc6
BLAKE2b-256 3a53970a08d63833a707b58fa70395a3bc00803a346850e703e208d609e47186

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