S14 Machine learning · Practice
Learning from data
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
Fit a least-squares line to the points (0, 2), (1, 2), (3, 10). What's its slope?
Check
A fit has sum-of-squares error E = 2 over 10 examples. What's its RMS error?
Check
A correct linear model with 3 parameters is fitted to 100 examples with noise variance 0.04. What test mean squared error should you expect?
Check
For the same fit (3 parameters, 100 examples, noise variance 0.04), what's the expected gap between test and training error?
Check
A single weight through the origin has Σx² = 10 and Σxt = 3. What weight does regularization with λ = 20 give?
Check
A correct model with 5 parameters on data with noise variance 0.02: how many examples keep the expected test–training gap down to 0.01?
Check
A least-squares line is fitted to 10 points with Σx = 20, Σx² = 80, Σt = 80 and Σxt = 140.
(a)
What is the slope ?
(b)
What is the intercept ?
Check
RMS error: E = 0.1, N = 5?
Check
Expected test error: σ² = 0.005, p = 2, N = 500?
Check
Ridge weight: Σx² = 1, Σxt = 0.5, λ = 50?
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