From the course: Advanced Graph Neural Networks
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Setting up a graph classification model
From the course: Advanced Graph Neural Networks
Setting up a graph classification model
- When we train a graph neural network for the purposes of graph classification as opposed to node classification, many of the steps remain the same, but there are a few differences. The first thing is you generate embeddings for each node using the usual message passing techniques. So you perform multiple rounds of message passing. That is, you aggregate information from the neighboring nodes for every node in the graph. Once you have the updated node embeddings for every node in the graph, you aggregate node embeddings across the entire graph structure into a unified graph embedding. This is referred to as the readout layer. Once you have one graph embedding representing the entire graph, you pass that through a linear classifier to categorize or classify that particular graph. Let's set up a graph neural network to perform exactly these three steps. This neural network class is called GCN, so it's a convolutional network because we still use message passing and aggregation. That…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Understanding graph classification6m 32s
-
(Locked)
Exploring the PROTEINS Dataset for graph classification5m 19s
-
(Locked)
Minibatching graph data2m 47s
-
(Locked)
Setting up a graph classification model4m 49s
-
(Locked)
Training a GNN for graph classification4m 39s
-
(Locked)
Eliminating neighborhood normalization and skip connections3m 39s
-
(Locked)
-
-