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
Release history Release notifications | RSS feed
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.8.tar.gz
(6.5 kB
view details)
Built Distribution
File details
Details for the file lorenz_zonoid-0.0.8.tar.gz
.
File metadata
- Download URL: lorenz_zonoid-0.0.8.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40b4f00d86764984acb713dc32a4840591910f49e2010cc11e9b6d03527b3365 |
|
MD5 | fa7ea5c820b4b1b65693d9f96ee56cf0 |
|
BLAKE2b-256 | bce43bdda7c7d38bf9ffdc3f91c70c14b761546e503829be01b427b0589b3cbd |
File details
Details for the file lorenz_zonoid-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: lorenz_zonoid-0.0.8-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41ae5dd895fc36eff40398aca4cf151d369733cec62aa46c57ed67412c140c6c |
|
MD5 | 1037a7117bc76b0a8f3a7be21f525aa9 |
|
BLAKE2b-256 | 71040ce6db4356f5d1887a87f29b256f6bc9005b111404ac7ee980430284e437 |