Coder Social home page Coder Social logo

saro00 / dgn Goto Github PK

View Code? Open in Web Editor NEW
111.0 111.0 13.0 8.86 MB

Implementation of Directional Graph Networks in PyTorch and DGL

Home Page: https://arxiv.org/abs/2010.02863

Python 99.68% Shell 0.32%
dgl graph-machine-learning graph-neural-networks pytorch spectral-methods

dgn's People

Contributors

gcorso avatar saro00 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dgn's Issues

porting to torch_geometric

Dear authors,

Very nice work, came to know of this through Dominique's excellent talk recently at Valence Discovery's M2D2 series.

Since DGN exhibits SOTA performance over many common GNNs, I am excited to try it out on some biological tasks. However, I am already using another open-source model that relies on torch_geometric's Data interface (to batch graphs and so on), so I believe I also need to port this to torch_geometric to make it compatible as the task I'm working on requires me to sample data points simultaneously in each iteration.

Admittedly, I am really not familiar with torch_geometric, so I was wondering if you happened to have a torch_geometric version, or if you have some pointers on the easiest way to port this model to torch_geometric.

To clarify, the input will be the molecular identity (such as a SMILES string), which need to be pre-processed to the input features needed by DGN, such as the eigenvectors, the adjacency matrices and so on.

Thank you very much!

The best hyperparameters for PNA

Thanks for sharing the codes. Could you please provide the best hyperparameters to reproduce the results of PNA? The original repo of PNA did not provide the hyperparameters for PATTERN.

Thanks.

Question on why eigenvectors with eignelvalues of zero are not filtered out in code

The paper mentions that the first k non-zero eigenvalues of the laplacian are used for Phi(k). However, in the code, I don't see filtering the zero-eigenvalues out by setting a low threshold of 1e-6 for example. Phi(1) contains the lowest non-zero eigenvalue and Phi(k) contains the lowest K non-zero eigenvalues, right, according to the Figure 1? Here

In that case, why aren't the eigenvalues with low mangitude, eigenvalue < e-6, filtered out in get_k_lowest_eig? Here. To get the lowest k non-zero eigenvalues. If the eigenvalue is less than 1e-6 they could be considered as the zero eigenvalues and hence filtered out?

Would be great if you could share your thoughts on this

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.