Every dual problem derived so far — hard-margin, soft-margin — depends on the training data only through the inner products . This note cashes in that structural fact: if a feature map sends inputs into some richer (possibly much higher-, even infinite-dimensional) space, and if can be computed cheaply without ever forming explicitly, then simply swapping for this kernel function upgrades the SVM (or any dot-product-only algorithm) to learn non-linear boundaries in the original input space, for free.
In this lesson
- Learning objectives
- Feature maps and the kernel function
- Kernels as similarity measures, and Mercer's theorem
- Common kernels
- The kernel trick, generically
- Worked example
Before you start
The full lesson, with worked examples and exercise solutions, is for members.
Read the full lessonNew to SelfMadeQuant.com? See membership options or browse the Financial Machine Learning syllabus.