Skip to content

Latest commit

 

History

History
 
 

gcn

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Graph Convolutional Networks (GCN)

Dependencies

  • PyTorch 0.4.1+
  • requests

bash pip install torch requests

Codes

The folder contains three implementations of GCN:

  • gcn.py uses DGL's predefined graph convolution module.
  • gcn_mp.py uses user-defined message and reduce functions. Modify train.py to switch between different implementations.

Results

Run with following (available dataset: "cora", "citeseer", "pubmed")

python3 train.py --dataset cora --gpu 0 --self-loop
  • cora: ~0.810 (0.79-0.83) (paper: 0.815)
  • citeseer: 0.707 (paper: 0.703)
  • pubmed: 0.792 (paper: 0.790)