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.12.2.dev5.tar.gz (7.2 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.2.dev5-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file shapG-0.12.2.dev5.tar.gz.

File metadata

  • Download URL: shapG-0.12.2.dev5.tar.gz
  • Upload date:
  • Size: 7.2 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.2.dev5.tar.gz
Algorithm Hash digest
SHA256 994f3c7ece598b9c0f78c2c68685351634d8c64819a3edadf4d312287262f5bf
MD5 9edcc0c201d6afdbfc238164579c9aa6
BLAKE2b-256 24cd979bb95c768277d6f4b80d1db3d3efac68088fea3b818627b317e1e6790e

See more details on using hashes here.

File details

Details for the file shapG-0.12.2.dev5-py3-none-any.whl.

File metadata

  • Download URL: shapG-0.12.2.dev5-py3-none-any.whl
  • Upload date:
  • Size: 7.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.12.2.dev5-py3-none-any.whl
Algorithm Hash digest
SHA256 d848a0039526431246d229e40958484e7bc07f009cb6ca8035a96fba04b5bd4d
MD5 c0d4e52a093717033e7bc62561b7d8cb
BLAKE2b-256 e213350e5559ca55beea6e9ff0056c9b537ad9815a5a4ac1a5bd1ccb4c67f093

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