Skip to content

jupiters1117/ConeOpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License

ConeOpt: Counterfactual Explanations with Optimization

ConeOpt is a Python package that implements an optimization based conterfactual explanations for any machine learning estimator.

Installation

  1. Create a Python env adn then activate it.
conda create -p ./env39 python=3.9 --yes
conda activate ./env39
  1. To install reuqired packages, use:
pip install -r requirements.txt
  1. To test ConeOpt, run notebook and open the file: POC2.ipynb.
jupyter notebook
  1. To test Alibi, follow the instruction here to install the package. Then open alibi/examples/cfproto_mnist.ipynb to test the Counterfactual Analysis. Detailed explanation of the implementaiton can be found here.

Other related documentations can be found here.

About

Counterfactual Explanations with Optimization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published