In this exercise, we aim to implement and learn the graph convolutional networks (GCNs) shown in Fig.
Question:
In this exercise, we aim to implement and learn the graph convolutional networks (GCNs) shown in Fig. 10.38. Specifically, we apply a two-layer GCN for semisupervised node classification on Cora data set. The data can be downloaded at https://linqs.soe.ucsc.edu/data. Specifically, first construct the undirected graph based on citation relations (i.e., there exists one undirected edge between two papers if one paper cites another), and node attributes represent the content words. Randomly split 500 nodes for validation and 1000 nodes for testing and the rest for training. Set the hidden dimension to be 64. Use ReLU and softmax functions as the nonlinear activation functions of the first and second layers, respectively. For semisupervised
node classification, use cross-entropy loss function and Adam optimizer with a learning rate 0.01 and a dropout rate 0.5 . Implement this model, then evaluate and report the node classification accuracy.
Step by Step Answer:
Data Mining Concepts And Techniques
ISBN: 9780128117613
4th Edition
Authors: Jiawei Han, Jian Pei, Hanghang Tong