Underneath the map · Foundation
Universal approximation
The idea
with one hidden layer
Why it matters
A network with enough units can approximate any continuous function, so the architecture is never the hard limit. But it says nothing about size, training or generalisation.
Learn it
Taught in Section 5 (The Universal Approximation Theorem) 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.
- 5.1 The Universal Approximation TheoremOne hidden layer with enough neurons can approximate any continuous function on a bounded domain as closely as you like. The precise statement, what each condition means, and the extension that covers ReLU.
- 5.2 Building Functions from BumpsThe intuition behind universal approximation in one dimension: two steep sigmoids make a bump, many bumps make a staircase, and narrower steps track any continuous curve.
- 5.3 What the Theorem Does Not PromiseThe universal approximation theorem is an existence result. It says nothing about how many neurons, how to find the weights, or whether the network will generalise. Plus: how it applies to classifiers with discrete outputs.