Giter VIP home page Giter VIP logo

lon-gnn's Introduction

LON-GNN: Spectral GNNs with Learnable Orthonormal Basis

Source code for "LON-GNN: Spectral GNNs with Learnable Orthonormal Basis".

Requirements

  • Python 3.7
  • numpy 1.21
  • pytorch 1.12
  • pyg 1.7.1
  • optuna 3.0.5

Experiments on Fitting Images

Codes on fitting images can be found in LON-GNN/LearningFilters/. To reproduce the results of LON-GNN, run the following commands:

cd LON-GNN/LearningFilters/
./test_LONGNN.sh

The detailed parameters can also be found in LON-GNN/LearningFilters/test_LONGNN.sh.

Experiments on Real-World Datasets

Reproduce LON-GNN

To reproduce the results of LON-GNN on real-world datasets, run the following commands:

cd LON-GNN/
./test_LONGNN.sh

The detailed parameters can also be found in LON-GNN/test_LONGNN.sh.

Users can also utilize optuna to search the best parameters:

cd LON-GNN/
./param_search.sh ${dataset} 0

where ${dataset} can be selected from cora, pubmed, citeseer, computers, photo, actor, chameleon, squirrel, cornell and texas.

Ablation

To reproduce Jacobi+Orthnorm in ablation analysis, run the following commands:

cd LON-GNN/
./test_Jacobi+Orthnorm.sh

To reproduce Jacobi+Learnable in ablation analysis, run the following commands:

cd Jacobi+Learnable
./test_Jacobi+Learnable.sh

lon-gnn's People

Contributors

qianatali avatar

Stargazers

Jingwei avatar idawningstars avatar  avatar Taoshu avatar

Watchers

Taoshu avatar

Forkers

lukangkang123

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.