S14 Machine learning · Practice
Kernel methods
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
Two inputs are 1.5 apart. What's their Gaussian kernel value with width s = 0.5?
Check
What's the polynomial kernel for x = (1, 0.5) and z = (3, −0.5)?
Check
How many features does the kernel correspond to for 20-component inputs?
Check
Two inputs are 1.5 apart. With a Gaussian kernel of width 1, what's the squared distance between their feature vectors?
Check
Kernel ridge regression on two points with targets 1 and −1, kernel values 1 on the diagonal and 0.7 between them, and λ = 0.5. What does it predict at the first training point?
Check
How many gigabytes does the Gram matrix for 30000 examples take in double precision (8 bytes per entry)?
Check
Two training inputs are 0.5 apart, and a Gaussian kernel of width s = 0.5 is used.
(a)
What is the Gram matrix's smaller eigenvalue?
(b)
What is its condition number?
Check
Gaussian kernel: distance 0.1, width 0.3?
Check
Polynomial kernel features: D = 2, M = 1?
Check
Feature-space squared distance: d = 0.2, s = 0.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