Experiments for AAAI anchor paper
Clone or download
Latest commit a9b4526 Feb 3, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
datasets first commit Feb 3, 2018
results first commit Feb 3, 2018
README.md first commit Feb 3, 2018
__init__.py first commit Feb 3, 2018
anchor_base.py first commit Feb 3, 2018
anchor_tabular.py first commit Feb 3, 2018
compute_explanations.py first commit Feb 3, 2018
make_graphs_and_table.py first commit Feb 3, 2018
process_results.py first commit Feb 3, 2018
run_compute_explanations.py first commit Feb 3, 2018
run_process_results.py first commit Feb 3, 2018
utils.py first commit Feb 3, 2018

README.md

Anchor experiments

This repository has code for replicating the experiments in High-Precision Model-Agnostic Explanations.

If you actually want to try anchors, use the code in this repository instead.

Installation

Inside a virtualenv, run:

pip install lime==0.1.1.29 sklearn matplotlib seaborn numpy argparse xgboost==0.4a30

Examples

Run:

python run_compute_explanations.py
python run_process_results.py
python make_graphs_and_table.py

Results will be in folder results