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
shapley:lz-0.0.11.tar.gz 11.8 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

0.0.11 This release

2 release files

0.0.10

1 release file

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

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