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]
Metadata
Release files for lorenz-zonoid 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lorenz_zonoid-0.0.9.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lorenz_zonoid-0.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 kB
Release files / lorenz_zonoid-0.0.9.tar.gz
| Download URL | lorenz_zonoid-0.0.9.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
891ee9ff997040754c38cf1ec4ef3e2014e4cf1f577ffce0d423a740af83fa4c
|
|
BLAKE2b-256 checksum How to use checksums |
92db905c59ca3e2a87915ff9dc401f50193149c77682cc447caeccb875814233
|
| 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.51.0 CPython/3.8.5
|
Release files / lorenz_zonoid-0.0.9-py3-none-any.whl
| Download URL | lorenz_zonoid-0.0.9-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7f83d72f55503dc49ea2221c91ca04df1dfe0ea3516fc0b798640d0dc2d3c70
|
|
BLAKE2b-256 checksum How to use checksums |
2d51868103e6f258606390a04fba71f90c8b0af14658c5280ccf6ff7808e4e6a
|
| 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.51.0 CPython/3.8.5
|