Replies: 1 comment
-
I am not totally sure how your graph looks like, but at one point graclus will fail to coarsen the graph further if all your nodes are disconnected from each other. Might this be the case? Also, the clustering is not really deterministic as the start nodes are picked randomly. I am not sure if setting a seed via What you can also do is use the clustering METIS routine from |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Matthias and the gang,
I wish to use an autoencoder to impute and cluster a set of edge weightings on a known static graph. To do so I have transposed the network to the linegraph, ie. node weighted, so I'm happy to address either problem (node or edge weightings).
I have had success using convolution layers and
graclus
clustering to create coarser representations copied from #2687 and #2786, however with this method I cannot create very coarse graphs. Even applyinggraculus
10 times only leads to a ~20% reduction in the number of nodes and edges. Here is an example with only one coarsening and upsampling step.My other issue is with the dynamic nature of the clustering and the size of the latent vector. Since the most coarse graph represents the beginning of the decoder, I am having trouble implementing Matthias's solution to #2786. I've found either of these solutions will lead to a latent vector who's size is defined by the coarsest graph, and therefore is always a different shape, leading to issues for using this vector for other purposes, or as hkim716 ran into it is hard to define the suggested linear layer.
Therefore my question is either:
A. Is there a known better method for autoencoding features on a known graph than what hkim716 and I were proposing?
or
B. How can you achieve deterministic and more aggressive progressive clustering/coarsening in pytorch geometric?
Thank you for any help and for this excellent library.
Beta Was this translation helpful? Give feedback.
All reactions