Machine Learning Fundamentals · free preview
Forward Propagation on a Computational Graph
A forward pass computes and stores every intermediate quantity in dependency order, and drawing that dependency as a graph is what makes the backward pass mechanical.
1. The forward pass, in order
The forward pass, in order
2. Reading the graph
Reading the graph
3. What has to be kept
What has to be kept
4. Why the graph helps the backward pass
A computational graph records that is the result of applying to , and that is the result of a matrix product of with . What does this structure give the backward pass?
5. The hidden activation formula
With no bias in the hidden layer, the hidden activation satisfies where . The dimension of is ____ for hidden units.
Practice this interactively
Free account · instant grading · spaced review that schedules itself.
Start this course for free