Back to Neural Networks Training and Debugging
Step 3 of 6· Investigate: Batch gradients
Neural Networks Training and Debugging · Lesson 1 of 3 in this module
Investigate: Batch gradients
Inspect selected per-example gradients, the mini-batch mean and the full gradient at the same checkpoint. Step the walkthrough before applying an update.
Loading this browser experiment…
More things to try · optional
- Apply direct CPU updates and inspect the next batch. Compare ordered and seeded shuffled epochs from the same initial parameters.
- Compare sizes 1, 4 and 16 first at an equal-example budget and then at equal updates. Explain the changed work counts.
- Record losses, rate, seed and budget. Describe one limit of the comparison rather than claiming one batch size always wins.
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…