Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pear-xai-0.0.1.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pear_xai-0.0.1-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

Details for the file pear-xai-0.0.1.tar.gz.

File metadata

  • Download URL: pear-xai-0.0.1.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for pear-xai-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7f3f44621bdeaa9513f02ad8365795ee34cfc4d83b6408c19c9489e8c621d4a7
MD5 17182d07ba431b3d10fc58e4fdc2b113
BLAKE2b-256 a4d9ced0952338905ddbe8bf3adad83978419dd33927f36223759d1aaf157f36

See more details on using hashes here.

File details

Details for the file pear_xai-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pear_xai-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for pear_xai-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d900a80e3bb200613edae9959f8c5467f035c5b3b1fc3c855533cc071b256b2b
MD5 7f08e145d1b6cc5b8766e22cf81ef4bb
BLAKE2b-256 375b963d58824f4ffb34181f086ba3bdbe4573f06b59d77e6656c8700a409ce9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page