Skip to main content

A package for computing semivalues.

Project description

This package provides functionality to compute semivalues and related concepts. The most prominent example of a semivalue is the Shapley value.

Broad Functionality:

  • Compute Shapley value exact or approximately
  • Compute decomposition matrices based on the Shapley value

Detailed Functionality:

  • Compute Shapley value (exact and approximately)
  • Compute Shapley value decomposition by size (exact and approximately) (n x n matrix where each entry is aggregated over the respective subset size)
  • Compute Shapley value of a player to another player (exact and approximately) (Hausken, Kjell, and Matthias Mohr. "The value of a player in n-person games." Social Choice and Welfare 18 (2001): 465-483.)

For the approximation methods of the Shapley value we refer to https://arxiv.org/pdf/1306.4265

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

semivalues-0.0.4.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

semivalues-0.0.4-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file semivalues-0.0.4.tar.gz.

File metadata

  • Download URL: semivalues-0.0.4.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.4

File hashes

Hashes for semivalues-0.0.4.tar.gz
Algorithm Hash digest
SHA256 58f24356a63759d9fe13855cbf1e081c2bc6307e3eccfd8f20a4854b95973726
MD5 8c797e758edbe5c4602f85309b4b6642
BLAKE2b-256 56deb6d182c4f26a86050222944b826ca14be2450c9445e95cfcc5ebcf89b1c6

See more details on using hashes here.

File details

Details for the file semivalues-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: semivalues-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.4

File hashes

Hashes for semivalues-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0dedc8a75108791a4f01ab412135c0bfdafdfb5b5f990707646352b641f91dad
MD5 d3c5fdc210dac4a5c71b3fe21ab6c847
BLAKE2b-256 926a74e68f45bbc7167ecf9700e8229d7d11ae7c448315ca12866016942f2be7

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