Hands-on lab · 1 step
The feature space of a polynomial kernel
Read off the explicit feature space of the inhomogeneous quadratic kernel on and evaluate the kernel at a pair of points, confirming that the kernel trick and the explicit inner product give the same number.
0/1 step passedBest score 0/100
Step 1: Dimension and kernel value
Consider the polynomial kernel on
(a) Give , the dimension of the feature space of the explicit feature map whose coordinates are the distinct monomials produced by expanding the square — equivalently the dimension of the reproducing kernel Hilbert space , the smallest feature space any feature map of this kernel can have.
(b) Give for and .
Both values are graded together with absolute tolerance ; expressions such as (1*3+2*(-1)+1)^2 are accepted.