interpret-community


Nameinterpret-community JSON
Version 0.31.0 PyPI version JSON
download
home_pagehttps://github.com/interpretml/interpret-community
SummaryMicrosoft Interpret Extensions SDK for Python
upload_time2024-01-12 21:53:12
maintainer
docs_urlNone
authorMicrosoft Corp
requires_python
licenseMIT License
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Microsoft Interpret Community SDK for Python

### This package has been tested with Python 3.7, 3.8 and 3.9

The Interpret Community SDK builds on Interpret, an open source python package from Microsoft Research for training interpretable models, and helps to explain blackbox systems by adding additional extensions from the community to interpret ML models.

Interpret-Community is an experimental repository that hosts a wide range of community developed machine learning interpretability techniques. This repository makes it easy for anyone involved in the development of a machine learning system to improve transparency around their machine learning models. Data scientists, machine learning engineers, and researchers can easily add their own interpretability techniques via the set of extension hooks built into the peer repository, Interpret, and expand this repository to include their custom-made interpretability techniques.

Highlights of the package include:

- The TabularExplainer can be used to give local and global feature importances
- The best explainer is automatically chosen for the user based on the model
- Local feature importances are for each evaluation row
- Global feature importances summarize the most importance features at the model-level
- The API supports both dense (numpy or pandas) and sparse (scipy) datasets
- There are utilities provided to convert engineered explanations, based on preprocessed data before training a model, to raw explanations on the original dataset
- For more advanced users, individual explainers can be used
- The KernelExplainer, GPUKernelExplainer, PFIExplainer and MimicExplainer are for BlackBox models
- The MimicExplainer is faster but less accurate than the KernelExplainer, and supports various surrogate model types
- The TreeExplainer is for tree-based models
- The LinearExplainer is for linear models
- The DeepExplainer is for DNN tensorflow or pytorch models
- The PFIExplainer can quickly compute global importance values
- LIMEExplainer builds local linear approximations of the model's behavior by perturbing each instance
- GPUKernelExplainer is GPU-accelerated implementation of SHAP's KernelExplainer as a part of RAPIDS's cuML library, and is optimized for GPU models, like those in cuML. It can be used with CPU-based estimators too.
- An adapter to convert any feature importance values to an interpret-community style explanation

Please see the github website for the documentation and sample notebooks:
https://github.com/interpretml/interpret-community

Auto-generated sphinx API documentation can be found here:
https://interpret-community.readthedocs.io/en/latest/index.html

More information on the ExplanationDashboard can be found here:
https://github.com/microsoft/responsible-ai-toolbox

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/interpretml/interpret-community",
    "name": "interpret-community",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Microsoft Corp",
    "author_email": "ilmat@microsoft.com",
    "download_url": "https://files.pythonhosted.org/packages/81/f7/b1d917c70c424715e46f88f859777f6f73c0005fa7915d60e2b8b4bdbd72/interpret_community-0.31.0.tar.gz",
    "platform": null,
    "description": "# Microsoft Interpret Community SDK for Python\n\n### This package has been tested with Python 3.7, 3.8 and 3.9\n\nThe Interpret Community SDK builds on Interpret, an open source python package from Microsoft Research for training interpretable models, and helps to explain blackbox systems by adding additional extensions from the community to interpret ML models.\n\nInterpret-Community is an experimental repository that hosts a wide range of community developed machine learning interpretability techniques. This repository makes it easy for anyone involved in the development of a machine learning system to improve transparency around their machine learning models. Data scientists, machine learning engineers, and researchers can easily add their own interpretability techniques via the set of extension hooks built into the peer repository, Interpret, and expand this repository to include their custom-made interpretability techniques.\n\nHighlights of the package include:\n\n- The TabularExplainer can be used to give local and global feature importances\n- The best explainer is automatically chosen for the user based on the model\n- Local feature importances are for each evaluation row\n- Global feature importances summarize the most importance features at the model-level\n- The API supports both dense (numpy or pandas) and sparse (scipy) datasets\n- There are utilities provided to convert engineered explanations, based on preprocessed data before training a model, to raw explanations on the original dataset\n- For more advanced users, individual explainers can be used\n- The KernelExplainer, GPUKernelExplainer, PFIExplainer and MimicExplainer are for BlackBox models\n- The MimicExplainer is faster but less accurate than the KernelExplainer, and supports various surrogate model types\n- The TreeExplainer is for tree-based models\n- The LinearExplainer is for linear models\n- The DeepExplainer is for DNN tensorflow or pytorch models\n- The PFIExplainer can quickly compute global importance values\n- LIMEExplainer builds local linear approximations of the model's behavior by perturbing each instance\n- GPUKernelExplainer is GPU-accelerated implementation of SHAP's KernelExplainer as a part of RAPIDS's cuML library, and is optimized for GPU models, like those in cuML. It can be used with CPU-based estimators too.\n- An adapter to convert any feature importance values to an interpret-community style explanation\n\nPlease see the github website for the documentation and sample notebooks:\nhttps://github.com/interpretml/interpret-community\n\nAuto-generated sphinx API documentation can be found here:\nhttps://interpret-community.readthedocs.io/en/latest/index.html\n\nMore information on the ExplanationDashboard can be found here:\nhttps://github.com/microsoft/responsible-ai-toolbox\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Microsoft Interpret Extensions SDK for Python",
    "version": "0.31.0",
    "project_urls": {
        "Homepage": "https://github.com/interpretml/interpret-community"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "726b74f99fed5dd8ecad314212349341ff7c7e55c05cff38646fb317c0898095",
                "md5": "27d641de615db8985193f98601d94841",
                "sha256": "9c21e14d4c79bf3af77c058e41e985fb83be1f7684561b706986d07afeaf8e56"
            },
            "downloads": -1,
            "filename": "interpret_community-0.31.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "27d641de615db8985193f98601d94841",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 130710,
            "upload_time": "2024-01-12T21:53:10",
            "upload_time_iso_8601": "2024-01-12T21:53:10.174459Z",
            "url": "https://files.pythonhosted.org/packages/72/6b/74f99fed5dd8ecad314212349341ff7c7e55c05cff38646fb317c0898095/interpret_community-0.31.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "81f7b1d917c70c424715e46f88f859777f6f73c0005fa7915d60e2b8b4bdbd72",
                "md5": "10c36c0ab05a1dc139bcc0d6f7559eef",
                "sha256": "05a18a573a96c4a02c7e5c560b37a69af0332283ef6608ea53a7e315977db915"
            },
            "downloads": -1,
            "filename": "interpret_community-0.31.0.tar.gz",
            "has_sig": false,
            "md5_digest": "10c36c0ab05a1dc139bcc0d6f7559eef",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 90261,
            "upload_time": "2024-01-12T21:53:12",
            "upload_time_iso_8601": "2024-01-12T21:53:12.195676Z",
            "url": "https://files.pythonhosted.org/packages/81/f7/b1d917c70c424715e46f88f859777f6f73c0005fa7915d60e2b8b4bdbd72/interpret_community-0.31.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-12 21:53:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "interpretml",
    "github_project": "interpret-community",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "interpret-community"
}
        
Elapsed time: 0.83776s