Source code for CIKM 2019 paper "Temporal Network Embedding with Micro- and Macro-dynamics".
- Python 2.7
- numpy
- scipy
- PyTorch (0.3.0)
- My machine with two GPUs (NVIDIA GTX-1080 *2) and two CPUs (Intel Xeon E5-2690 * 2)
The datasets are also available at Google Drive.
MMDNE/
βββ code
β βββ DataHelper.py: load and process data for MMDNE
β βββ Evaluation.py: evaluate the performance of MMDNE (e.g., classification)
β βββ MMDNE.py: model architecture and training
βββ data
β βββ dblp
β βββ dblp.txt: each line is a temporal edge with the format (node1 \t node2 \t timestamp)
β βββ node2label.txt: node label data with the format (node_name, label)
β βββ Tmall
β βββ tmall.txt: each line is a temporal edge with the format (node1 \t node2 \t timestamp)
β βββ node2label.txt: node label data with the format (node_name, label)
β βββ Eucore: will be available soon!
βββ res
β βββ dblp
β βββ
βββ README.md
python MMDNE.py
@inproceedings{Yuanfu2019MMDNE,
title={Temporal Network Embedding with Micro- and Macro-dynamics},
author={Yuanfu Lu, Xiao Wang, Chuan Shi, Philip S. Yu, Yanfang Ye.}
booktitle={Proceedings of CIKM},
year={2019}
}