Skip to content

missinghwan/MGAD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MGAD

A PyTorch implementation of "[Label-based Graph Augmentation with Metapath for Graph Anomaly Detection]"

Dependencies

Dependencies for all experiments of MGAD are as follows:

• Python == 3.7.8

• PyTorch == 1.6.0

• NetworkX == 2.6.3

• Scikit-learn == 0.23.2

• NumPy == 1.18.5

• SciPy == 1.7.3

Usage

All of datasets used in this paper are put in ./data folder and graph information (e.g., adjacency, attribute, and label) is included in each dataset file (.mat). Due to the large file size, some of metapaths are included in that folder as .csv files. Various metapath schema can be extracted by using different metapath extractors. The meaning of filename is {dataset} {metapath schema} {anomaly ratio} {sampling round}.csv.

python main.py --dataset cora

About

Deep Semi-supervised Anomaly Detection with Metapath-based Context Knowledge (H. Kim et al., 2023)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages