Map 1 · Building and training a network · Dense lane · step M3
Size the network
How deep, how wide, and for which task?
Key formula
Width grows parameters with the product of adjacent layers.
Fact or figure
Depth can represent structured functions with far fewer units than one wide layer, but it is harder to train.
Skip this step and…
An oversized network on a small dataset memorises it; an undersized one underfits.
Digits example
For digits as a dense network: one or two hidden layers of 128–256 ReLU units, and a 10-way output.
Learn it
Taught in Section 11 (Network Design and PyTorch) 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.
- 11.1 Depth versus WidthMore layers or more units per layer? How depth and width differ in expressive power, parameter count and trainability, and why most successful networks are deep rather than very wide.
- 11.2 Designing a Network for Tabular DataA worked design for a regression problem: predicting house prices from features such as size, bedrooms and location. Architecture, activations, loss, regularisation, categorical features and the challenges to expect.
How it connects
Feeds into · Step 9
RegulariseLarge networks need regularising
How do I close the gap between training and validation?
Builds on · Convolutional lane · step C3
Stack into a hierarchyDepth and width are design choices for convolutional networks too
How do layers build up from edges to objects?[conv → ReLU → pool] × several, then flatten → dense → output
Builds on · Step 8
Evaluate honestlyHigh training and validation loss means underfitting: the network needs more capacity
Is it learning, or memorising?
Builds on · Foundation
Universal approximationWhy depth is still chosen in practice
with one hidden layer