Coder Social home page Coder Social logo

gcnii's Introduction

Simple and Deep Graph Convolutional Networks

PWC PWC PWC PWC

This repository contains a PyTorch implementation of "Simple and Deep Graph Convolutional Networks".(https://arxiv.org/abs/2007.02133)

Dependencies

  • CUDA 10.1
  • python 3.6.9
  • pytorch 1.3.1
  • networkx 2.1
  • scikit-learn

Datasets

The data folder contains three benchmark datasets(Cora, Citeseer, Pubmed), and the newdata folder contains four datasets(Chameleon, Cornell, Texas, Wisconsin) from Geom-GCN. We use the same semi-supervised setting as GCN and the same full-supervised setting as Geom-GCN. PPI can be downloaded from GraphSAGE.

Results

Testing accuracy summarized below.

Dataset Depth Metric Dataset Depth Metric
Cora 64 85.5 Cham 8 62.48
Cite 32 73.4 Corn 16 76.49
Pubm 16 80.3 Texa 32 77.84
Cora(full) 64 88.49 Wisc 16 81.57
Cite(full) 64 77.13 PPI 9 99.56
Pubm(full) 64 90.30 obgn-arxiv 16 72.74

Usage

  • To replicate the semi-supervised results, run the following script
sh semi.sh
  • To replicate the full-supervised results, run the following script
sh full.sh
  • To replicate the inductive results of PPI, run the following script
sh ppi.sh

Reference implementation

The PyG folder includes a simple PyTorch Geometric implementation of GCNII. Requirements: torch-geometric >= 1.5.0 and ogb >= 1.2.0.

  • Running examples
python cora.py
python arxiv.py

Citation

@article{chenWHDL2020gcnii,
  title = {Simple and Deep Graph Convolutional Networks},
  author = {Ming Chen, Zhewei Wei and Zengfeng Huang, Bolin Ding and Yaliang Li},
  year = {2020},
  booktitle = {Proceedings of the 37th International Conference on Machine Learning},
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.