PEAR: Post-hoc Explainer Agreement Regularization
Project description
: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.
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 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}
}
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
Built Distribution
File details
Details for the file pear-xai-0.0.10.tar.gz
.
File metadata
- Download URL: pear-xai-0.0.10.tar.gz
- Upload date:
- Size: 2.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a035d220c36f58c929914d2d8b9c0c488b87208446ad2f744c82d90ba1385bd6 |
|
MD5 | 0d78c6b2d46474dbbe59b47bf51f2c13 |
|
BLAKE2b-256 | 740d2027980bcce454518754debaf89b1332befe01526aec7ea550339db149c3 |
File details
Details for the file pear_xai-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: pear_xai-0.0.10-py3-none-any.whl
- Upload date:
- Size: 2.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b65edde78d13dd771ea247dc5e7b9574315e475d9f267a8a903609f537bcb5ec |
|
MD5 | b58c36d65d288c6528286f2a0a745deb |
|
BLAKE2b-256 | b87fad9808fa9f151303b0918293fbfe6c5509a152471a9f882877532e038aa1 |