Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.
/ sgc Public archive
forked from tkipf/gcn

Implementation of Simplified Graph Convolutional Networks in TensorFlow

License

Notifications You must be signed in to change notification settings

alittera/sgc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simplified Graph Convolutional Networks

This is a TensorFlow implementation of Simplified Graph Convolutional Networks for the task of (semi-supervised) classification of nodes in a graph carried out as a project for the examination of Neural Networks, at Sapienza university of Rome.

The project is based on:

Thomas N. Kipf, Max Welling, Semi-Supervised Classification with Graph Convolutional Networks

Wu , Zhang ,de Souza Jrm, Simplifying Graph Convolutional Networks

Installation

python setup.py install

Requirements

  • tensorflow (>0.12)
  • networkx

Run the demo

cd gcn
python train.py -model sgcn -dataset pubmed

Data

In this example, we load citation network data (Cora, Citeseer or Pubmed). The original datasets can be found here: http://www.cs.umd.edu/~sen/lbc-proj/LBC.html. In our version (see data folder) we use dataset splits provided by https://github.com/kimiyoung/planetoid (Zhilin Yang, William W. Cohen, Ruslan Salakhutdinov, Revisiting Semi-Supervised Learning with Graph Embeddings, ICML 2016).

You can specify a dataset as follows:

python train.py --dataset citeseer
python train.py --dataset cora
python train.py --dataset pubmed

(or by editing train.py)

Models

You can choose between the following models:

About

Implementation of Simplified Graph Convolutional Networks in TensorFlow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%