Skip to content
Discussion options

You must be logged in to vote

The Graclus pooling is described in Section 2.2 here and proceeds as follows:

  1. We select a random node and connect it to a random neighbor/the neighbor with the highest edge weight to form a cluster.
  2. If a node does not have a unclustered neighbor, it will form a cluster only containing itself.

As such, the number of resulting nodes is approximately reduced by half, but might be slightly higher in cases where a node needs to form a cluster solely with itself.

The new edge_index is then given by the union of edges of this cluster, and other information such as edge_attr or pos are averaged.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hkim716
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants