A k-hop neighborhood contains the nodes reachable from a specified node within k edges. In a graph convolutional network, each layer extends the information available to the node by one hop. section 11.3.1
Track neighborhood growth through message passing:
- The first layer aggregates a node’s own features and information from immediate neighbors. section 11.3.1
- The second layer reaches neighbors of neighbors, giving access to nodes two hops away. section 11.3.1
- Additional layers propagate and aggregate information across progressively larger neighborhoods. section 11.3.1
Cora node embeddings
A two-layer GCN generates node embeddings for Cora, a citation network of 2,708 publications and 5,429 links. PyTorch Geometric supplies the Planetoid dataset and GCNConv layers. section 11.3.1
