Skip to content

A Comparison of Feature Importance and Rule Extraction for Interpretability on Text Data

Notifications You must be signed in to change notification settings

gianluigilopardo/anchors_vs_lime_text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comparing Anchors and LIME for Text Data

Requirements

Some non-standard packages need to be installed:

  • anchor (repo from the authors)
pip install anchor-exp
  • spacy and a pretrained model:
pip install spacy
python -m spacy download en_core_web_sm

Use

To generate figures for the experiments, simply do

git clone https://github.com/gianluigilopardo/anchors_vs_lime_text
python main.py

About

A Comparison of Feature Importance and Rule Extraction for Interpretability on Text Data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published