semvec/pypi-packages huggingface dataset:
shapley-lz 0.0.11
Computes the Shapley Lorenz Zonoid share of a set of covariates
License: MIT
Keywords: shapley lorenz zonoid explainable machine learning AI

## Installation

Run the following to install:

```python
pip install shapley_lz
````

```python
from shapley_lz import ShapleyLorenzShare

# Compute Shapley Lorenz Zonoid values:
# model = iml_mode.fit(X_background, y_background)
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:

```bash
$ pip install -e .[dev]
```