Learning objectives
What you will be able to explain
- Why is the chain rule central to backpropagation?
- Run a forward pass through a tiny ReLU network
- What is the derivative of the sigmoid function?
- Compute a softmax probability
- Compute a cross-entropy loss value
- Differentiate a one-neuron squared-loss model
Section 01
Why is the chain rule central to backpropagation? to What is the derivative of the sigmoid function?
01
Why is the chain rule central to backpropagation?
Guided checkpoint
Choose the best explanation.
02
Run a forward pass through a tiny ReLU network
Guided checkpoint
Let the input be . Hidden unit 1 has , hidden unit 2 has , and both activations are ReLU. The output is . Compute , , , , and .
03
What is the derivative of the sigmoid function?
Guided checkpoint
Choose the correct formula for .
Section 02
Compute a softmax probability to Differentiate a one-neuron squared-loss model
01
Compute a softmax probability
Guided checkpoint
For logits , compute the softmax probability of the first class.
02
Compute a cross-entropy loss value
Guided checkpoint
For a one-hot target on the correct class with predicted probability , compute the cross-entropy loss using natural logarithms.
03
Differentiate a one-neuron squared-loss model
Guided checkpoint
Consider a neuron with input , weight , bias , target , and loss . Compute , , and .
Section 03
In what order does backpropagation compute gradients? to Match each neural-network quantity to its role
01
In what order does backpropagation compute gradients?
Guided checkpoint
Choose the best description.
02
Backpropagation facts: true or false
Guided checkpoint
Mark each statement as true or false.
03
Match each neural-network quantity to its role
Guided checkpoint
Match the term to the best description.
Section 04
Why do sigmoid or tanh networks sometimes suffer from vanishing gradients? to Take one gradient step on a single neuron
01
Why do sigmoid or tanh networks sometimes suffer from vanishing gradients?
Guided checkpoint
Choose the best explanation.
02
Take one gradient step on a single neuron
Guided checkpoint
Using the gradients from the earlier neuron example, update and with learning rate . The gradients are and .
Knowledge check
Turn understanding into recall.
The quiz now follows the same concepts in scored form. You can return to this lesson from the quiz whenever a gap appears.