Map 1 · Building and training a network · The fork
Does the input have spatial structure?
Dense layers, or convolutions?
Key formula
Fact or figure
A convolution's parameter count depends on the filter size and number of filters, not the image size, thanks to weight sharing.
Skip this step and…
A dense layer on raw images ignores that nearby pixels belong together and needs a huge number of weights.
Digits example
A dense network on the 784 flattened pixels works (typically about 98% accuracy); a CNN on the image does better (over 99%) with fewer weights.
Learn it
Taught in Section 10 (Convolutional Neural Networks) of the course. The map follows the deep learning workflow, the order you build a model in; the course teaches in the order that is easiest to learn, so the numbers can jump.
How it connects
Feeds into · Dense lane · step M1
Understand the neuronFeatures without spatial structure: the dense lane
What can one neuron do, and what can it never do?
Feeds into · Convolutional lane · step C1
ConvolveImages and spatial data: the convolutional lane
How does a filter find a pattern anywhere in the image?