Skip to main content

Installation

Run the following to install:

pip install shapley_lz
from shapley_lz import ShapleyLorenzShare

# Compute Shapley Lorenz Zonoid values:
# model = iml_mode.fit(X_background, y_background)
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]

Metadata

Release files for shapley-lz 0.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shapley-lz 0.0.11
File Size Uploaded Provenance Actions
shapley:lz-0.0.11.tar.gz 11.8 kB Without provenance Details for shapley:lz-0.0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for shapley-lz 0.0.11
File Interpreter ABI Platform Actions
shapley_lz-0.0.11-py3-none-any.whl Python 3 none any Details for shapley_lz-0.0.11-py3-none-any.whl

Total release size: 47.1 kB

Release files / shapley:lz-0.0.11.tar.gz

Download URL shapley:lz-0.0.11.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
80607dd7b8bb23cd08dd336b4e93a25974e929419f8062db25a9b8fe506774cf
BLAKE2b-256 checksum
How to use checksums
9fa7d9e90f619f927eb0e6033268d39b19ff1489a7e3ff0b6073435b2f07800b
Upload date
Uploaded using Trusted Publishing?
What is 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.57.0 CPython/3.8.5

Release files / shapley_lz-0.0.11-py3-none-any.whl

Download URL shapley_lz-0.0.11-py3-none-any.whl
Size 35.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e9153db18600ab610309a4b036fc3bc5300da455193714d42fb7366337cc8c1
BLAKE2b-256 checksum
How to use checksums
379f63d5e3f119552f83425ed1f7d96cb4ed54b0881556ce7c82c6cdf05fefcd
Upload date
Uploaded using Trusted Publishing?
What is 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.57.0 CPython/3.8.5

Security for shapley-lz 0.0.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page