Coder Social home page Coder Social logo

hetero2net's Introduction

Hetero$^2$Net

Implementation of Hetero$^2$Net from the "Hetero$^2$Net: Heterophily-aware Representation Learning on Heterogenerous Graphs" paper.

Requirements

  • torch 2.0.1
  • torch_geometric 2.4.0
  • torch-cluster 1.6.1+pt20cu117
  • torch-scatter 2.1.1+pt20cu117
  • torch-sparse 0.6.17+pt20cu117
  • torch-spline-conv 1.2.2+pt20cu117
  • texttable 1.6.7
  • termcolor 1.1.0
  • scikit-learn 1.0.2
  • scipy 1.10.1
  • numpy 1.22.4
  • tqdm 4.64.0
  • CUDA 11.7

Reproduction

DBLP

python main.py --dataset DBLP --dropout 0.5 --lr 0.001 --beta 0.2 --alpha 0.1

IMDB

python main.py --dataset IMDB --dropout 0.9 --lr 0.005 --alpha 0.1 --mask_lp --p 0.6

ACM

python main.py --dataset ACM --epochs 100 --monitor loss --mask_lp --p 0.7

OGB

python main.py --dataset MAG --num_neighbors 15 15 --hidden 256 --beta 0.2 --mini_batch --mask_lp --p 1.0

RCDD

python main.py --dataset RCDD --metrics ap micro-f1 macro-f1 --dropout 0.5 --epochs 100 --num_neighbors 15 15 --hidden 256 --beta 0.2 --mini_batch --mask_lp

hetero2net's People

Contributors

edisonleeeee avatar

Stargazers

 avatar  avatar

Watchers

 avatar

hetero2net's Issues

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.