Back to Neural Networks Training and Debugging
Step 3 of 6· Investigate: Gradient contributions
Neural Networks Training and Debugging · Lesson 2 of 2 in this module
Investigate: Gradient contributions
Does working out a change also apply it?
Predict: The computer currently says 6. Will that answer change just because you reveal the backward calculation?
Start here: Reset backpropagation lab. Follow the walkthrough without pressing Apply both updates. Does the answer stay at 6?
Experiment guide
- Read the two proposed changes. Both were worked out using the old weights, 3 and 1.
- Press Apply both updates once. The weights become 3.08 and 1.24. Now compare the new answer with the target of 10.
What to look for: Revealing a calculation does not change the weights. Moving a slider or applying the updates does.
Try these steps in the experiment.
Write a prediction · optional
Loading this browser experiment…
More things to try · optional
- Start at w₁ = 3 and w₂ = 1. Follow the animated forward and backward passes.
- Reveal the gradients before updating. Notice that the prediction is still 6.
- Apply one update at rate 0.01. Confirm w₁ = 3.08 and w₂ = 1.24, then reset and try different weights.
Notes, help and related ideas
My notes and reflection
Compare with your prediction
Compare your result with your prediction. Explain a mismatch, then change one condition and try a new case.
Loading your journal…