https://github.com/birkhoffg/cfmark
This is the official repository of the paper "Watermarking Counterfactual Explanations".
https://github.com/birkhoffg/cfmark
Last synced: about 1 year ago
JSON representation
This is the official repository of the paper "Watermarking Counterfactual Explanations".
- Host: GitHub
- URL: https://github.com/birkhoffg/cfmark
- Owner: BirkhoffG
- License: apache-2.0
- Created: 2024-05-29T00:22:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-01T00:41:43.000Z (about 2 years ago)
- Last Synced: 2025-02-13T10:36:32.716Z (over 1 year ago)
- Language: Jupyter Notebook
- Homepage:
- Size: 2.23 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Watermarking Counterfactual Explanations
[](https://arxiv.org/pdf/2405.18671.pdf)
This codebase contains code to reproduce the paper "[Watermarking Counterfactual Explanations](http://arxiv.org/abs/2405.18671)".
## Install
This project uses
[jax-relax](https://github.com/BirkhoffG/jax-relax/) (a fast and scalable recourse explanation library).
```sh
pip install -e ".[dev]" --upgrade
```
## Run Experiments
```sh
python -m scripts.run_all
```
Edit the `scripts/run_all.py` file to specify the datasets, CF methods, and attack methods to run.