featureimpact


Namefeatureimpact JSON
Version 2.2.2 PyPI version JSON
download
home_pagehttps://github.com/bloomen/featureimpact
SummaryCompute the statistical impact of features given a trained estimator
upload_time2023-01-17 05:10:02
maintainer
docs_urlNone
authorChristian Blume
requires_python
licenseMIT
keywords machine learning data mining statistics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/bloomen/featureimpact",
    "name": "featureimpact",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "machine learning,data mining,statistics",
    "author": "Christian Blume",
    "author_email": "chr.blume@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/bc/86/4222e58b22a0300efb96db20267d45dff5443663db611524e87b11505025/featureimpact-2.2.2.tar.gz",
    "platform": null,
    "description": "# featureimpact\n\n[![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)\n\nfeatureimpact let's you compute the statistical impact of features given\na trained estimator. The computation is based on the mean variation\nof the difference between perturbed and original predictions. The estimator must\npredict purely numerical values. All features must also consist of purely\nnumerical values.\n\nExample:\n```python\nfrom featureimpact import FeatureImpact\nfi = FeatureImpact()\nfi.make_quantiles(X_train)\nimpact = fi.compute_impact(model, X_test)\n```\n\nNote: In order to run the examples you'll need scikit-learn\ninstalled in addition to this package and its regular dependencies.\n\nThe algorithm is described here:\nhttps://bloomen.github.io/pub/featureimpact.pdf",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Compute the statistical impact of features given a trained estimator",
    "version": "2.2.2",
    "split_keywords": [
        "machine learning",
        "data mining",
        "statistics"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bc864222e58b22a0300efb96db20267d45dff5443663db611524e87b11505025",
                "md5": "4fa079eec78542ce4555783e5c16bb23",
                "sha256": "85b4b6c87bf589a36da3d40d18dd1c376c0c832d976077584223b1f9f0abb985"
            },
            "downloads": -1,
            "filename": "featureimpact-2.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "4fa079eec78542ce4555783e5c16bb23",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6079,
            "upload_time": "2023-01-17T05:10:02",
            "upload_time_iso_8601": "2023-01-17T05:10:02.878242Z",
            "url": "https://files.pythonhosted.org/packages/bc/86/4222e58b22a0300efb96db20267d45dff5443663db611524e87b11505025/featureimpact-2.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-17 05:10:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "bloomen",
    "github_project": "featureimpact",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "featureimpact"
}
        
Elapsed time: 0.03076s