Coder Social home page Coder Social logo

zebra's Introduction

Zebra: When Temporal Graph Neural Networks Meet Temporal Personalized PageRank

Dataset

6 datasets were used in this paper:

Preprocessing

If edge features or nodes features are absent, they will be replaced by a vector of zeros. Example usage:

python utils/preprocess_data.py --data wikipedia --bipartite
python utils/preprocess_custom_data.py --data superuser

Usage

Optional arguments:
    --data                  Dataset name
    --bs                    Batch size
    --n_head                Number of attention heads used in neighborhood aggregation
    --n_epoch               Number of training epochs
    --n_layer               Number of network layers
    --lr                    Learning rate
    --gpu                   GPU id
    --patience              Patience for early stopping
    --enable_random         Use random seeds
    --topk                  Top-k threshold
    --tppr_strategy         Strategy used for answering top-k T-PPR query [streaming|pruning]
    --alpha_list            Alpha values used in T-PPR metrics
    --beta_list             Beta values used in T-PPR metrics
    
Example usage:
    python train.py --n_epoch 50 --bs 200 --data wikipedia --enable_random  --tppr_strategy streaming  --topk 20 --alpha_list 0.1 0.1 --beta_list 0.5 0.95 --gpu 0

zebra's People

Contributors

luckylym avatar oodenough avatar

Stargazers

 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.