Week 7 Checkpoint
The chain rule, computational graphs with forward/backward passes on $y=(wx+b)^2$, partial derivatives, the gradient vector, the direction of steepest ascent, and reading contour plots.
- 1.
Use the chain rule to differentiate .
- 2.
For with , the forward pass gives and . Using the chain rule on the backward pass, what is ?
- 3.
For , what is the partial derivative ?
- 4.
The gradient of evaluated at the point is:
- 5.
At a point where , the direction of steepest ascent of is:
- 6.
On a contour (level-curve) plot of , the gradient vector at a point is always:
- 7.
In reverse-mode autodiff, the backward pass multiplies the upstream gradient by each node's local derivative. For the node with upstream gradient , the gradient sent to is: