Map 1 · Building and training a network · Step 4

Choose the activations

Which non-linearity in hidden layers, and which at the output?

Key formula

Fact or figure

Ten sigmoid layers multiply at most into the gradient: vanishing gradients.

Skip this step and…

Deep sigmoid networks barely train their early layers; ReLU units with a too-high learning rate can die.

Digits example

ReLU in the hidden layers; softmax over the 10 digit classes at the output.

Learn it

Taught in Section 4 (Activation Functions) 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

← Back to the whole map