Neural Networks
Start with a single artificial neuron, build a small network by hand, and learn how backpropagation attributes error to individual weights.
Module 5 of 6
The most demanding module in the course. Everything before this has involved models with a few dozen parameters. Neural networks have thousands, sometimes millions — and that jump in capacity changes how you build, train, and reason about models. You will start with a single artificial neuron and finish with convolutional architectures that recognise images.
Learning outcomes
By the end of Module 5 you will be able to build, train, and evaluate neural networks of your own — including convolutional networks for image data — and to diagnose why a network that should be learning is not.
Module 5 is the most demanding in the course. Neural networks introduce mathematical depth and engineering complexity that earlier modules do not. Plan to spend longer per tutorial than you have in previous units, and expect to re-read the backpropagation material more than once. That is normal — it is also what everyone else is doing.
The evaluation toolkit from Module 2, Unit 6 applies here unchanged — precision, recall, F1, ROC/AUC, and cross-validation all work the same way on a neural network as they do on a logistic regression. The Python workflow from Module 1, Unit 3 also carries over, extended by Keras. Only the model itself is new.
Units & tutorials
Unit 14 builds a single neuron and then a small network by hand. Unit 15 scales that network up and teaches you to keep it training well. Unit 16 adds the architectural ideas that make image recognition possible.
Start with a single artificial neuron, build a small network by hand, and learn how backpropagation attributes error to individual weights.
Scale the network up and learn to keep it training well. Optimisation, regularisation, dropout, and the practical craft of getting a deep network to converge.
The architecture that made computer vision practical. Convolution, pooling, and the feature hierarchies that allow a network to recognise images.
Tools
Everything from Module 1 still applies. Module 5 adds TensorFlow and Keras for defining and training neural networks, replacing Scikit-Learn for this module's modelling work.
Datasets
Module 5 deliberately starts with small datasets so that training runs in seconds, not hours. The architectures you build are real; the data is modest by design.
Every dataset and architecture in this module is chosen so that training completes on a standard laptop CPU in seconds to a few minutes. No GPU is required, and no cloud compute is needed. The point of Module 5 is understanding, not scale.
How to work through it
Neural network training is an empirical craft. The habits that matter here are different from every earlier module — you will spend as much time watching training curves and adjusting as you will reading theory.
The forward pass and backpropagation are not exercises in memorisation. Compute one forward pass and one backward pass on a two-neuron network yourself before touching Keras.
A neural network that is not learning produces a loss curve that tells you why. A flat curve, a diverging curve, a curve that falls then rises — each has a specific diagnosis.
When a model underperforms, resist the urge to change architecture, learning rate, and regularisation simultaneously. Adjust one variable, retrain, observe. Neural network debugging is experimental design.
Each unit ends with a short quiz. Score it honestly before looking at the feedback.
Assessment
Module 5 carries three unit quizzes and the neural network assignment, which asks you to build, train, and evaluate models of your own design.
Assignment 5: Neural Network Modeling is released during Unit 15 and asks you to design, train, and evaluate a neural network on a dataset of your choosing. Its deadline falls in week 13, and once submitted you will move straight into the capstone. Begin it as soon as you have finished Unit 15 — do not leave it until the module ends.
The capstone project allows you to use any technique from the course, including the neural networks you build here. If your capstone dataset is image-based or involves a large number of features, the architectures from Unit 16 are likely to be directly applicable. The submission requirements are identical regardless of which technique you choose.