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.3.tar.gz
(6.4 kB
view details)
Built Distribution
File details
Details for the file lorenz_zonoid-0.0.3.tar.gz
.
File metadata
- Download URL: lorenz_zonoid-0.0.3.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 | 847c88711025a9924aa9f7afca31cb4d0fb6eba15dea170f659f57ff5195847c |
|
MD5 | a564aca141b3e21631372c4f73764f4f |
|
BLAKE2b-256 | 365e2be21e6eaad0f7ef1dc71b65363e7f09cc4dd8235d8dd34740d3f6df3b98 |
File details
Details for the file lorenz_zonoid-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: lorenz_zonoid-0.0.3-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 | e48cde9807c2d7910d0c3dfa96addbc09cdc6ce99fa345b28663be8879e3d9bf |
|
MD5 | 27c699306be049a31b2eba95916a5407 |
|
BLAKE2b-256 | 6a0b59262be380668f34a1a101129ed8066e5793b8e56d4b601f323ea942ed01 |