Compute the statistical impact of features given a trained estimator
Project description
# featureimpact
[![Actions](https://github.com/bloomen/featureimpact/actions/workflows/featureimpact-tests.yml/badge.svg?branch=master)](https://github.com/bloomen/featureimpact/actions/workflows/featureimpact-tests.yml?query=branch%3Amaster)
featureimpact let’s you compute the statistical impact of features given a trained estimator. The computation is based on the mean variation of the difference between perturbed and original predictions. The estimator must predict purely numerical values. All features must also consist of purely numerical values.
Example: `python from featureimpact import FeatureImpact fi = FeatureImpact() fi.make_quantiles(X_train) impact = fi.compute_impact(model, X_test) `
Note: In order to run the examples you’ll need scikit-learn installed in addition to this package and its regular dependencies.
The algorithm is described here: https://bloomen.github.io/pub/featureimpact.pdf
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
File details
Details for the file featureimpact-2.2.2.tar.gz
.
File metadata
- Download URL: featureimpact-2.2.2.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85b4b6c87bf589a36da3d40d18dd1c376c0c832d976077584223b1f9f0abb985 |
|
MD5 | 4fa079eec78542ce4555783e5c16bb23 |
|
BLAKE2b-256 | bc864222e58b22a0300efb96db20267d45dff5443663db611524e87b11505025 |