S14 Machine learning · Practice
Backpropagation
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 10 kinds solid
Check
For with = 1.2, = 1.5, input 2, target 1 and squared error, what's ?
Check
For the same network ( = 1.2, = 1.5, x = 2, t = 1), what's ?
Check
A network computes with w = 2, b = −0.25, v = −1. For input 1, target 1 and squared error, what's ?
Check
Through each of 20 layers, the backward signal is multiplied by a weight 1 and an activation slope 0.1. By what overall factor is it scaled?
Check
A central-difference gradient check with step 0.001 is off by 1 × 10⁻⁶. What error do you expect with a step 10 times smaller (rounding aside)?
Check
A network has 1000000 weights. Backpropagation computes the gradient for about 2 forward passes' cost. How many times more work does a central-difference gradient take?
Check
A linear layer has with a = 1, b = 0.5, c = 2, d = 4. The input is x = (1, −1) and the upstream gradient = (0.5, 2).
(a)
What is ?
(b)
What is (the weight from to )?
(c)
What is ?
(d)
What is ?
Check
: = −1.5, = −3, x = 2, t = 1?
Check
Gradient scale through 30 layers, slope 0.05, weight 0.5?
Check
Central-difference error 1 × 10⁻⁸, step divided by 1.5?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in S14