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.9.tar.gz
(6.5 kB
view details)
Built Distribution
File details
Details for the file lorenz_zonoid-0.0.9.tar.gz
.
File metadata
- Download URL: lorenz_zonoid-0.0.9.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 | 891ee9ff997040754c38cf1ec4ef3e2014e4cf1f577ffce0d423a740af83fa4c |
|
MD5 | 870eec5c00859b07dc0fbe1dd91e022b |
|
BLAKE2b-256 | 92db905c59ca3e2a87915ff9dc401f50193149c77682cc447caeccb875814233 |
File details
Details for the file lorenz_zonoid-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: lorenz_zonoid-0.0.9-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 | e7f83d72f55503dc49ea2221c91ca04df1dfe0ea3516fc0b798640d0dc2d3c70 |
|
MD5 | ab4b478d6c794a2e6350847bde9f242b |
|
BLAKE2b-256 | 2d51868103e6f258606390a04fba71f90c8b0af14658c5280ccf6ff7808e4e6a |