
Apply time series forecasting with graph neural networks and LSTM to transport and traffic management, enabling smarter congestion control, routing, and city planning.
Explore the job opportunities that follow mastery of time series forecasting with graph convolutional neural networks and LSTM, from data scientists to AI researchers across finance, healthcare, and urban planning.
Explore how a Jupyter notebook builds a traffic forecasting model with deep learning, focusing on temporal and spatial traffic data, with sections and step-by-step operations in upcoming lectures.
Open the code dot ipynb file in Google Colab and activate the GPU by changing the runtime type to GPU, enabling acceleration for deep learning models in this project.
Visualize speed data from speeds array by plotting with a configured figure and legend to compare route zero and route 25, revealing trends, patterns, and anomalies for traffic analysis.
Visualizes the correlation matrix of speed data to reveal relationships between routes, identify groups with similar patterns, and detect data quality issues and outliers for traffic analysis and forecasting.
Create train, validation, and test TensorFlow datasets from numpy arrays using the create_tf_dataset function with input sequence length, forecast horizon, batch size, and shuffle set to false for test.
Compute the adjacency matrix for a graph using sigma2 and epsilon, extract edges with numpy's npoi function, and encapsulate nodes and edges in a graph info object for analysis.
Initialize an LSTM GC model with 1 input feature, 10 output features, 64 LSTM units, 12-step inputs, and a 3-step forecast horizon, to learn from spatial and temporal dependencies.
Define the model's inputs and outputs with an input layer and shape, including input sequence length, graph num nodes, and node features, using St GCN–LSTM for training and inference.
Train the model using the training dataset with input-output pairs, validate after each epoch to monitor generalization and prevent overfitting with early stopping based on validation loss.
Evaluate the trained traffic forecasting model on the test dataset to assess generalization to unseen data, comparing predictions to ground truth with accuracy and error metrics to gauge deployment readiness.
Visualize actual and forecasted values from the model by plotting them on the same graph, with a legend showing actual and forecast lines to compare predictions against ground truth.
This course offers an in-depth journey into the world of advanced time series forecasting, specifically tailored for traffic data analysis using Python. Throughout the course, learners will engage with the PeMSD7 dataset, a real-world traffic speed dataset, to develop predictive models that can forecast traffic conditions with high accuracy. The course focuses on integrating Long Short-Term Memory (LSTM) networks with Graph Convolutional Networks (GCNs), enabling learners to understand and apply cutting-edge techniques in spatiotemporal data analysis.
Key topics include data preprocessing, feature engineering, model building, and evaluation, with hands-on coding in Python to solidify understanding. Learners will also gain practical experience in using popular libraries such as TensorFlow and Keras for deep learning applications.
This course is ideal for those looking to advance their careers in data science, machine learning, or AI-driven industries. The practical skills acquired will be highly valuable for roles in smart city planning, transportation analysis, and any field that relies on predictive modeling. By the end of the course, learners will not only have a strong grasp of advanced forecasting techniques but will also be well-prepared for job opportunities in data science and related fields, where they can contribute to innovative solutions in traffic management and urban development.