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

Uploaded Python 3

File details

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

File metadata

  • Download URL: shapG-0.13.1.tar.gz
  • Upload date:
  • Size: 7.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.13.1.tar.gz
Algorithm Hash digest
SHA256 47923bfc35cdae14bb469f3d1f0ffa11c2dfa42f900a2645e252670598448f32
MD5 630f691a3891b81f1cf7233403f85a01
BLAKE2b-256 df26a7c73fbd5755c97970cf5f3c9a1d4008cc5440a562931ecbd54dc7e712c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shapG-0.13.1-py3-none-any.whl
  • Upload date:
  • Size: 7.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 14f25f3c61ba456299c75373453281ea107bf54da69d1b4da289747b62bc105d
MD5 ec9a66165cd23a2a5c5d230516eb33ab
BLAKE2b-256 2f934bdd2a0c0765306d0eed517da8bb84ebd514c9091b4a4a825070eed0d1eb

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