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.

Input: A, adjacency matrix of the input graph of size n x n; X, the node attribute matrix of size n x d; w!

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Data Mining Concepts And Techniques

ISBN: 9780128117613

4th Edition

Authors: Jiawei Han, Jian Pei, Hanghang Tong

Question Posted: