hwwang55/GraphGAN
关于
GraphGAN(使用生成对抗网络进行图表示学习)的 TensorFlow 实现
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文GraphGAN
GraphGAN: Graph Representation Learning With Generative Adversarial Nets
Hongwei Wang, Jia Wang, Jialin Wang, Miao Zhao, Weinan Zhang, Fuzheng Zhang, Xing Xie, Minyi Guo
32nd AAAI Conference on Artificial Intelligence, 2018

GraphGAN unifies two schools of graph representation learning methodologies: generative methods and discriminative methods, via adversarial training in a minimax game. The generator is guided by the signals from the discriminator and improves its generating performance, while the discriminator is pushed by the generator to better distinguish ground truth from generated samples.
Files in the folder
data/: training and test datapre_train/: pre-trained node embeddingsNote: the dimension of pre-trained node embeddings should equal n_emb in src/GraphGAN/config.py
results/: evaluation results and the learned embeddings of the generator and the discriminatorsrc/: source codes
Requirements
The code has been tested running under Python 3.6.5, with the following packages installed (along with their dependencies):
- tensorflow == 1.8.0
- tqdm == 4.23.4 (for displaying the progress bar)
- numpy == 1.14.3
- sklearn == 0.19.1
Input format
The input data should be an undirected graph in which node IDs start from 0 to N-1 (N is the number of nodes in the graph). Each line contains two node IDs indicating an edge in the graph.
txt file sample
0 13 2...
Basic usage
mkdir cachecd src/GraphGANpython graph_gan.py
探索相关项目
加载中…