S14 Machine learning · Practice
Generalization bounds
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
An error rate must be measured to within ±0.01 with probability 0.01 of failure, using Hoeffding's inequality.
(a)
How many test examples does it need?
Check
A model is scored on 1000 examples, and the bound must hold with failure probability 0.01.
(a)
How far can its measured error sit from the true error?
(b)
And for the best of 1000000 models scored on the same examples?
Check
A system passes 300 independent trials with no failures.
(a)
What upper bound on its failure rate holds with confidence 0.9?
Check
A classifier's error rate is about 0.05, and it must be measured to within ±0.005 at 95% confidence.
(a)
How many test examples does the normal approximation call for?
(b)
How many times more does Hoeffding's bound ask for?
Check
A learner picks any Boolean function of 16 binary inputs that fits its training data.
(a)
How many training examples guarantee error below 0.01 with failure probability 0.05?
Check
A linear classifier with a bias works on 10-dimensional inputs.
(a)
What is its VC dimension?
(b)
About how many training examples does the ten-per-dimension rule of thumb suggest?
Check
Hoeffding test size: ±0.01, δ = 0.05?
Check
Zero failures in 100: bound at confidence 0.95?
Check
Best of 10 models on 500 examples, δ = 0.05?
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