Datasets and codes for the paper 'GGT: A Spatio-Temporal Gated Graph Transformer with Node-Edge Joint Attention Mechanism for Community Detection' are provided here.
To run GGT, follow the steps below:
-
Download the Gowalla, Brightkite and Weeplaces datasets, and then extract the datasets to the following directory.
├── STCommunityDetection ├── dataset ├── brightkite ├── Brightkite_edges.txt ├── Brightkite_totalCheckins.txt ├── gowalla ├── Gowalla_edges.txt ├── Gowalla_totalCheckins.txt ├── weeplaces ├── weeplace_checkins.csv ├── weeplace_friends.csv -
run main.py
python main.py