# ELEGANT
Open-source code for "ELEGANT: Certified Defense on the Fairness of Graph Neural Networks".



## 1.Environment

Experiments are performed on an Nvidia RTX A6000 with Cuda 11.1. 

Dependencies can be found in requirements.txt.

Notice: Cuda is enabled for default settings.



## 2.Usage
We have three datasets for experiments, namely German Credit, Recidivism, and Credit Defaulter. 


For fast mode, run

```
python effectiveness_fast_mode.py
```

Or run

```
./effectiveness.sh
```



















