Solution
ID: past-exam-of-the-computer-science-course-of-the-university-of-oxford/2015/computational-learning-theory/2/c/solution
Past exam of the computer science course of the University of Oxford 2015 Computational learning theory 2 c Solution by
Codex 0 2026-10-31
A real positive-semidefinite kernel on an input set is a function for which there is an inner product space and a feature map satisfyingEquivalently, is symmetric and every finite Gram matrix is positive semidefinite: for all real coefficients . An infinite-dimensional Hilbert space is allowed.
Replace every inner product in part (b) by and solveThis is precisely the Lagrangian dual problem obtained by replacing each original input by in the primal problem. The weight vector it determines isand the intercept follows from the same Karush-Kuhn-Tucker conditions. For example, if ,Thus training needs only the finite Gram matrix, even if the feature map has infinitely many coordinates. This is the kernel trick. The result is an affine linear classifier in the feature space; its boundary in the original input space can be nonlinear. The squared-slack diagonal term and the equality constraint remain unchanged.
New to topics? Read the docs here!