Skip to main content

DisCERN: Discovering Counterfactual Explanations using Relevance Features from Neighbourhoods

Project description

DisCERN-XAI

DisCERN: Discovering Counterfactual Explanations using Relevance Features from Neighbourhoods

Installing DisCERN

DisCERN supports Python 3+. The stable version of DisCERN is available on PyPI:

pip install discern-xai

To install the dev version of DisCERN and its dependencies, clone this repo and run pip install from the top-most folder of the repo:

pip install -e .

DisCERN requires the following packages:
numpy
pandas
lime
shap
scikit-learn

Getting Started with DisCERN

Binary Classification example using the Adult Income dataset and RandomForest classifier is in tests/test_adult_income.py

Multi-class Classification example using the Cancer risk dataset and RandomForest classifier is in tests/test_cancer_risk.py

Citing

Please cite it as follows:

Nirmalie Wiratunga and Anjana Wijekoon and Ikechukwu Nkisi-Orji and Kyle Martin and Chamath Palihawadana and David Corsar (2021). DisCERN:Discovering Counterfactual Explanations using Relevance Features from Neighbourhoods. ArXiv, vol. abs/2109.05800

Bibtex:

@misc{wiratunga2021discerndiscovering,
  title={DisCERN:Discovering Counterfactual Explanations using Relevance Features from Neighbourhoods}, 
  author={Nirmalie Wiratunga and Anjana Wijekoon and Ikechukwu Nkisi-Orji and Kyle Martin and Chamath Palihawadana and David Corsar},
  year={2021},
  eprint={2109.05800},
  archivePrefix={arXiv},
  primaryClass={cs.LG}

}





drawing drawing


This research is funded by the iSee project which received funding from EPSRC under the grant number EP/V061755/1. iSee is part of the CHIST-ERA pathfinder programme for European coordinated research on future and emerging information and communication technologies.

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

discern-xai-0.0.25.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

discern_xai-0.0.25-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

Supported by

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