README.md 810 Bytes
Newer Older
1
2
3
Graph Convolutional Networks (GCN)
============

Mufei Li's avatar
Mufei Li committed
4
5
6
- Paper link: [https://arxiv.org/abs/1609.02907](https://arxiv.org/abs/1609.02907)
- Author's code repo: [https://github.com/tkipf/gcn](https://github.com/tkipf/gcn). Note that the original code is 
implemented with Tensorflow for the paper. 
7

8
9
10
11
12
13
14
15
Requirements
------------
- requests

``bash
pip install requests
``

16
17
Codes
-----
18
The folder contains two implementations of GCN. `gcn.py` uses user-defined
19
20
message and reduce functions. `gcn_spmv.py` uses DGL's builtin functions so
SPMV optimization could be applied.
21

22
23
Results
-------
24

25
26
27
Run with following (available dataset: "cora", "citeseer", "pubmed")
```bash
python gcn_spmv.py --dataset cora --gpu 0
28
29
```

30
31
32
* cora: ~0.810 (0.79-0.83) (paper: 0.815)
* citeseer: 0.707 (paper: 0.703)
* pubmed: 0.792 (paper: 0.790)