pear-xai


Namepear-xai JSON
Version 0.0.10 PyPI version JSON
download
home_page
SummaryPEAR: Post-hoc Explainer Agreement Regularization
upload_time2023-05-10 16:44:43
maintainer
docs_urlNone
author
requires_python>=3.9
licenseBSD-3-Clause
keywords pytorch xai machine learning
VCS
bugtrack_url
requirements jupyter lime matplotlib numpy scikit-learn shap sklearn tabulate torch torchvision tqdm
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # :pear: PEAR: Post-hoc Explainer Agreement Regularization

A repo for training neural networks for post hoc explainer agreement. More details about the results can be found in our paper titled [Reckoning with the Disagreement Problem: Explanation Consensus as a Training Objective](https://arxiv.org/pdf/2303.13299.pdf).


## Getting Started

If you are intersted in using the :pear: PEAR package to train your own models, you can install the package through pip.

```$ pip install pear-xai```

You should then be able to run an example in a python interpreter:

```
$ python
>>> import pear
>>> pear.run_example()
```

If you are interested in cloning this repository and reproducing or building on our experiments, you can install the requirements manually as follows. (This code was developed and tested with Python 3.9.5)

After downloading the repository (or cloning it), install the requirements:

```$ pip install -r requirements.txt```

You can then open and run the Jupyter Notebook [tutorials](notebooks) on reproducing our results.
________________________________________________________________________________________________

## Contributing

We believe in open-source community driven software development. Please open issues and pull requests with any questions or improvements you have.


## Citing Our Work

To cite our work, please reference the paper linked above with the following citation.

```
@article{schwarzschild2023reckoning,
  title={Reckoning with the Disagreement Problem: Explanation Consensus as a Training Objective},
  author={Schwarzschild, Avi and Cembalest, Max and Rao, Karthik and Hines, Keegan and Dickerson, John},
  journal={arXiv preprint arXiv:2303.13299},
  year={2023}
}
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "pear-xai",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "Avi Schwarzschild <avi1@umd.edu>, Max Cembalest <max.cembalest@arthur.ai>, Karthik Rao <karthik@arthur.ai>",
    "keywords": "pytorch,XAI,machine learning",
    "author": "",
    "author_email": "Avi Schwarzschild <avi1@umd.edu>, Max Cembalest <max.cembalest@arthur.ai>, Karthik Rao <karthik@arthur.ai>",
    "download_url": "https://files.pythonhosted.org/packages/74/0d/2027980bcce454518754debaf89b1332befe01526aec7ea550339db149c3/pear-xai-0.0.10.tar.gz",
    "platform": null,
    "description": "# :pear: PEAR: Post-hoc Explainer Agreement Regularization\n\nA repo for training neural networks for post hoc explainer agreement. More details about the results can be found in our paper titled [Reckoning with the Disagreement Problem: Explanation Consensus as a Training Objective](https://arxiv.org/pdf/2303.13299.pdf).\n\n\n## Getting Started\n\nIf you are intersted in using the :pear: PEAR package to train your own models, you can install the package through pip.\n\n```$ pip install pear-xai```\n\nYou should then be able to run an example in a python interpreter:\n\n```\n$ python\n>>> import pear\n>>> pear.run_example()\n```\n\nIf you are interested in cloning this repository and reproducing or building on our experiments, you can install the requirements manually as follows. (This code was developed and tested with Python 3.9.5)\n\nAfter downloading the repository (or cloning it), install the requirements:\n\n```$ pip install -r requirements.txt```\n\nYou can then open and run the Jupyter Notebook [tutorials](notebooks) on reproducing our results.\n________________________________________________________________________________________________\n\n## Contributing\n\nWe believe in open-source community driven software development. Please open issues and pull requests with any questions or improvements you have.\n\n\n## Citing Our Work\n\nTo cite our work, please reference the paper linked above with the following citation.\n\n```\n@article{schwarzschild2023reckoning,\n  title={Reckoning with the Disagreement Problem: Explanation Consensus as a Training Objective},\n  author={Schwarzschild, Avi and Cembalest, Max and Rao, Karthik and Hines, Keegan and Dickerson, John},\n  journal={arXiv preprint arXiv:2303.13299},\n  year={2023}\n}\n```\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "PEAR: Post-hoc Explainer Agreement Regularization",
    "version": "0.0.10",
    "project_urls": {
        "documentation": "https://github.com/aks2203/pear-xai",
        "homepage": "https://arthur.ai",
        "repository": "https://github.com/aks2203/pear-xai"
    },
    "split_keywords": [
        "pytorch",
        "xai",
        "machine learning"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b87fad9808fa9f151303b0918293fbfe6c5509a152471a9f882877532e038aa1",
                "md5": "b58c36d65d288c6528286f2a0a745deb",
                "sha256": "b65edde78d13dd771ea247dc5e7b9574315e475d9f267a8a903609f537bcb5ec"
            },
            "downloads": -1,
            "filename": "pear_xai-0.0.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b58c36d65d288c6528286f2a0a745deb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 2325896,
            "upload_time": "2023-05-10T16:44:41",
            "upload_time_iso_8601": "2023-05-10T16:44:41.378013Z",
            "url": "https://files.pythonhosted.org/packages/b8/7f/ad9808fa9f151303b0918293fbfe6c5509a152471a9f882877532e038aa1/pear_xai-0.0.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "740d2027980bcce454518754debaf89b1332befe01526aec7ea550339db149c3",
                "md5": "0d78c6b2d46474dbbe59b47bf51f2c13",
                "sha256": "a035d220c36f58c929914d2d8b9c0c488b87208446ad2f744c82d90ba1385bd6"
            },
            "downloads": -1,
            "filename": "pear-xai-0.0.10.tar.gz",
            "has_sig": false,
            "md5_digest": "0d78c6b2d46474dbbe59b47bf51f2c13",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 2197816,
            "upload_time": "2023-05-10T16:44:43",
            "upload_time_iso_8601": "2023-05-10T16:44:43.884939Z",
            "url": "https://files.pythonhosted.org/packages/74/0d/2027980bcce454518754debaf89b1332befe01526aec7ea550339db149c3/pear-xai-0.0.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-10 16:44:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "aks2203",
    "github_project": "pear-xai",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "jupyter",
            "specs": [
                [
                    "==",
                    "1.0.0"
                ]
            ]
        },
        {
            "name": "lime",
            "specs": [
                [
                    "==",
                    "0.2.0.1"
                ]
            ]
        },
        {
            "name": "matplotlib",
            "specs": [
                [
                    "==",
                    "3.5.2"
                ]
            ]
        },
        {
            "name": "numpy",
            "specs": [
                [
                    "==",
                    "1.23.2"
                ]
            ]
        },
        {
            "name": "scikit-learn",
            "specs": [
                [
                    "==",
                    "1.2.2"
                ]
            ]
        },
        {
            "name": "shap",
            "specs": [
                [
                    "==",
                    "0.41.0"
                ]
            ]
        },
        {
            "name": "sklearn",
            "specs": [
                [
                    "==",
                    "0.0"
                ]
            ]
        },
        {
            "name": "tabulate",
            "specs": [
                [
                    "==",
                    "0.8.10"
                ]
            ]
        },
        {
            "name": "torch",
            "specs": [
                [
                    "==",
                    "1.11.0"
                ]
            ]
        },
        {
            "name": "torchvision",
            "specs": [
                [
                    "==",
                    "0.12.0"
                ]
            ]
        },
        {
            "name": "tqdm",
            "specs": [
                [
                    "==",
                    "4.64.0"
                ]
            ]
        }
    ],
    "lcname": "pear-xai"
}
        
Elapsed time: 0.17551s