bknyaz / graph_nn Goto Github PK
View Code? Open in Web Editor NEWGraph Classification with Graph Convolutional Networks in PyTorch (NeurIPS 2018 Workshop)
Home Page: https://arxiv.org/abs/1811.09595
License: Other
Graph Classification with Graph Convolutional Networks in PyTorch (NeurIPS 2018 Workshop)
Home Page: https://arxiv.org/abs/1811.09595
License: Other
Hi Dear Author,
This looks a very good implementation in using GCN for graph-level classification (may also called inductive). Besides the sample running you shown in jupyter notebook, are the other datasets are also supported in running? If yes, could I ask which part should modify to change the calling of datasets? Thanks!
Hi, many thanks for your code! May I ask the following question regarding laplacian batch?
In github.com/tkipf/gcn, laplacian is normalized by divided by the largest eigen value:
def chebyshev_polynomials(adj, k):
"""Calculate Chebyshev polynomials up to order k. Return a list of sparse matrices (tuple representation)."""
print("Calculating Chebyshev polynomials up to order {}...".format(k))
adj_normalized = normalize_adj(adj)
laplacian = sp.eye(adj.shape[0]) - adj_normalized
largest_eigval, _ = eigsh(laplacian, 1, which='LM')
scaled_laplacian = (2. / largest_eigval[0]) * laplacian - sp.eye(adj.shape[0])
while in the code below:
L = D_hat.view(batch, N, 1) * A_hat * D_hat.view(batch, 1, N)
L is not normalized. May I ask what is the reason for not divided by the eigen value?
Many thanks in advance!
hi! sir. I am very interested in your code and would like to ask how to load other data,such as Cora data sets. The parameter W in GCN and GCNUNET is not trained in your code
In file graph_unet.ipynb line 82, function list_to_torch
is not defined
Great work in reproducing Graph U-Net. I have one question about backprop in gpool. Why adding a gate operation enable gpool to backprop gradient? Here's a quoting in Graph U-Net.
Notably, the gate operation makes the projection vector p trainable.
I tried to realize the gpool in tensorflow without the gate operation, but it seems that the gradient could not be backproped.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.