S14 Machine learning · Practice
Support vector machines
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
A canonical linear SVM has w = (3, 2). What's its margin?
Check
A point with target 1 gets output −0.8. What's its hinge loss?
Check
An SVM is trained on two points: (1, 1) labeled +1 and (−1, −1) labeled −1. What's its margin?
Check
A kernel SVM has two support vectors: one with t = +1, multiplier 0.3 and kernel value 0.5 with a new input, and one with t = −1, multiplier 2 and kernel value 0.9. The bias is −0.3. What's the output?
Check
A linear SVM has w = (1, 0.5), and (2, 0.5) is a support vector with label 1. What's the bias b?
Check
A soft-margin SVM has = 20, C = 0.1 and total slack 8. What's its objective?
Check
A soft-margin SVM has = 1 and C = 0.1. Three training points have margins = 2.5, −0.2 and 1.2.
(a)
What is their total slack?
(b)
What is the objective?
Check
Margin for w = (0.2, 0.2)?
Check
Hinge loss: t = 1, y = −0.6?
Check
Kernel SVM output: a₁ = 0.1, k₁ = 0.1, a₂ = 2 (t = −1), k₂ = 1, b = −1?
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