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_testset)
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.2.tar.gz
(6.4 kB
view details)
Built Distribution
File details
Details for the file lorenz_zonoid-0.0.2.tar.gz
.
File metadata
- Download URL: lorenz_zonoid-0.0.2.tar.gz
- Upload date:
- Size: 6.4 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 | d8130f13615a78d1699e9c779d779ae89ccdeedd6b38ed6a48ef93cb0ebcf631 |
|
MD5 | b16b2d51bae4f6a890d8811937d537c5 |
|
BLAKE2b-256 | 1af0911eb5207328079c776f1888ee6a8a0cf64b91042fdcdeb73e93db09652c |
File details
Details for the file lorenz_zonoid-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: lorenz_zonoid-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.9 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 | f94ccc02d41395da33912b374a709774d8cb3b879ca884f092229344ed25d195 |
|
MD5 | 4fce7abdd52750bd92cffdc8c1dbcbdd |
|
BLAKE2b-256 | 5e66cc8b1fc2f209f67b93277bb5e92a71bda9f4ff607be2a9cef7e6c4d42e34 |