Skip to main content

Computes the Shapley Lorenz Zonoid share of covariates

Project description

Installation

Run the following to install:

pip install lorenz_zonoid
from lorenz_zonoid import ShapleyLorenzShare

# Compute Shapley Lorenz Zonoid values:
lorenzshare = ShapleyLorenzShare(model.predict, X_background_data, y_background_data)
lorenzshare.shapleyLorenz_val(X_test, y_test)

Developing Shapley Lorenz Zonoid

To install lorenz_zonoid, along with the tools you need to develop and run tests, run the following in your virtualenv:

$ pip install -e .[dev]

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

lorenz_zonoid-0.0.7.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

lorenz_zonoid-0.0.7-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file lorenz_zonoid-0.0.7.tar.gz.

File metadata

  • Download URL: lorenz_zonoid-0.0.7.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for lorenz_zonoid-0.0.7.tar.gz
Algorithm Hash digest
SHA256 8d3f56e70f4d7e974cb823b4d11f6d5250778e4e4fd87ab148b3933c05543f7c
MD5 4c17f49abac4092f4d4b42acdba93a62
BLAKE2b-256 10c53027846abcd96e9bc38daeac44079bf02518da49b7ed3bea9bb6acda3e13

See more details on using hashes here.

File details

Details for the file lorenz_zonoid-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: lorenz_zonoid-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for lorenz_zonoid-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 9c362f5d007c93af939fa695e5057afefb84fdfae4b5b113a054f3e91fc65e2e
MD5 01bd5c9122c6f22aceea7c34794d7d82
BLAKE2b-256 5e817b3ee181d0a5113412ace5a4114d927b9924f1b4ab307636a558836480f0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page