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}
}
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for discern_xai-0.0.25-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2212ab6ce1ccf2a2ea55771fda29e348807900b6e12ee63289864e32f47feac0 |
|
MD5 | 2e318fbeabdb1e87e20a749dba39450d |
|
BLAKE2b-256 | c5d7e39b5fb44677fd1a73a65429967b1d67847cd652d2b2acceb49cbc383d24 |