May 2019
Intermediate to advanced
456 pages
11h 38m
English
We established earlier in this chapter that in order to approximate more complex functions, we need bigger and deeper networks. Creating a deeper network works by stacking layers on top of each other.
In this section, we will build a two-layer neural network like the one seen in the following diagram:

Sketch of a two-layer neural network
The input gets multiplied with the first set of weights, W1, producing an intermediate product, z1. This is then run through an activation function, which will produce the first layer's activations, A1.
These activations then get multiplied with the second layer of weights, W2, producing an intermediate ...