S14 Machine learning · Practice
Model selection and cross-validation
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 9 kinds solid
Check
A least-squares fit with 10 parameters uses 50 points. One point has residual 1 and leverage 0.75.
(a)
What is the average leverage?
(b)
What is that point's leave-one-out residual?
Check
A ridge fit on 100 points has 2 effective parameters and a mean squared training residual of 2.
(a)
What is its generalized cross-validation score?
Check
A model with 3 parameters reaches a maximized log-likelihood of −500 on 10000 examples.
(a)
What is its AIC score (in the form ln L − M)?
(b)
Its BIC score (ln L − (M/2) ln N)?
Check
A larger model has 5 more parameters than a smaller one and raises the maximized log-likelihood by 3 nats, on 100000 examples.
(a)
By how much does it change the BIC score (positive favors the larger model)?
Check
Each of a model's 4 parameters has a prior 2 units wide and a posterior 0.5 wide.
(a)
What is the log of its Occam factor?
Check
A one-weight model has Σx² = 5 and Σxt = 8, with noise precision 1.
(a)
What prior precision maximizes its evidence?
(b)
How many well-determined parameters γ does it have there?
Check
Leave-one-out residual: residual 0.3, leverage 0.2?
Check
BIC: ln L = −80, M = 4, N = 5000?
Check
Evidence-optimal α: S = 10, T = 12, β = 8?
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