Installation

Note

Python 3+, Pytorch, Scikit-learn are required!

PyPi

pip install ceml

Note

The package hosted on PyPI uses the cpu only. For GPU requirements, please modify the source code accordingly.

Git

Download the repository:

git clone https://github.com/wangyongjie-ntu/Counterfactual-Explanations-Pytorch
cd ceml
pip install -r requirements.txt
pip install -e .