Giter Site home page Giter Site logo

gaug's Introduction

Data Augmentation for Graph Neural Networks

This repository contains the source code for the AAAI'2021 paper:

Data Augmentation for Graph Neural Networks

by Tong Zhao ([email protected]), Yozen Liu, Leonardo Neves, Oliver Woodford, Meng Jiang, and Neil Shah.

Requirements

This code package was developed and tested with Python 3.7.6. Make sure all dependencies specified in the requirements.txt file are satisfied before running the model. This can be achieved by

pip install -r requirements.txt

Usage

The scripts for hyperparameter search with Optuna are optuna_[method].py.

All the parameters are included in best_parameters.json. Results can be reproduced with the scripts train_[method].py, which will automatically load the parameters. For example, to reproduce the result of GAugO with GCN on Cora, you can simply run:

python train_GAugO.py --dataset cora --gnn gcn --gpu 0

Data

The format of data files are described in detail in the file data/README. Due to file size limit, for GAugM, only the edge_probabilities of Cora is provided. Please find the all edge_probabilities files at https://tinyurl.com/gaug-data. The VGAE implementation I used for generating these edge_probabilities are also provided under the folder vgae/.

Cite

If you find this repository useful in your research, please cite our paper:

@inproceedings{zhao2021data,
  title={Data Augmentation for Graph Neural Networks},
  author={Zhao, Tong and Liu, Yozen and Neves, Leonardo and Woodford, Oliver and Jiang, Meng and Shah, Neil},
  booktitle={The Thirty-Fifth AAAI Conference on Artificial Intelligence},
  pages={},
  year={2021}
}

gaug's People

Contributors

zhao-tong avatar

Watchers

James Cloos avatar

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.