Code accompanying 'On Locality of Local Explanation Models', published at NeurIPS 2021 https://proceedings.neurips.cc/paper/2021/file/995665640dc319973d3173a74a03860c-Paper.pdf
Please cite
@article{ghalebikesabi2021locality, title={On locality of local explanation models}, author={Ghalebikesabi, Sahra and Ter-Minassian, Lucile and DiazOrdaz, Karla and Holmes, Chris C}, journal={Advances in Neural Information Processing Systems}, volume={34}, year={2021} }
Note that the directory melime is copied from https://github.com/tiagobotari/melime, and that shapori is adjusted from https://github.com/slundberg/shap.
See minimal_example.py
for a minimal example without any depencies except for the shap
and numpy
packages. See the experimetns folder for a replicaiton of Figure 1 of the paper.