official implementation of "MCLASt: Multi-hierarchy contrastive learning graph anomaly detection with structure-awareness"
- create folder "pkl" and "result"
- run topolofy_dist.py
- run main.py
take Cora dataset as an example
python main.py --dataset cora
- python==3.9.18
- pytorch==2.2.2
- scipy==1.12.0
- sklearn==1.3.0
- tqdm==4.66.2
- dgl==2.1.0+cu121
- networkx==2.5.1
- numpy==1.26.4
- pyg==2.5.2
- pandas==1.4.1