Learning Graph Neural Networks
2h 13mIntermediate2024-07-29
Authors
Janani Ravi
Certified Google Cloud Architect and Data Engineer
Course details
Graph neural networks—neural networks capable of working with graph data structures—apply deep learning to data structures to reveal fresh insights from their graphs. In this course, learn about the different use cases of graph modeling and how to train a graph neural network and evaluate its results. Instructor Janani Ravi starts with some background on graphs, including terminology and graph types. She then introduces graph machine learning concepts and the basics of graph neural networks. The last half of the course consists of exercises to help you set up and train graph neural networks using PyTorch Geometric, visualize graphs using NetworkX, and training a graph convolutional network for node labeling using the Cora dataset.
Skills covered
Neural Networks and Deep LearningArtificial Intelligence (AI)One-Off
Concepts
Introduction
- Introducing graph neural networks
- Prerequisites
Understanding Graphs
- Undirected and directed graphs
- Other graph types
- Graph representations
Introducing Graph Machine Learning
- Prediction tasks with graphs
- Approaches to graph machine learning
- Challenges of using graphs in machine learning
Introducing Graph Neural Networks
- Graph neural networks intuition
- Understanding the structure of GNNs
- The graph neural network architecture
- Message passing transformation and aggregation
- Training a GNN
Representing Graphs in PyTorch Geometric
- Introducing PyTorch Geometric
- Exercise - Set up the Colab environment and libraries
- Exercise - Setting up a graph data structure in PyG
- Exercise - Visualizing graphs and exploring graph methods
- Exercise - Visualizing and exploring a directed graph
- Exercise - Exploring the cora dataset
- Exercise - Mini batches of data
- Exercise - Representing heterogeneous graphs in PyG
Performing Node Classification Using GNNs
- Exercise - The CiteSeer dataset for node classification
- Exercise - Setting up a DNN as a baseline model
- Exercise - Training the baseline model
- Exercise - Setting up a graph convolutional network
- Exercise - Training a GCN
Conclusion
- Summary and next steps