aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← 11. Support Vector Machines
Lesson 4 of 5 10 min · 126 words

Kernels

Inner products in a feature space without computing it.

In the dual form, the data appears only through inner products . The kernel trick replaces each inner product with a kernel — an inner product in some feature space — without ever computing .

This lets SVMs work in very high-dimensional, even infinite-dimensional, feature spaces at the cost of computing a kernel between pairs of points.

  • Linear: .
  • Polynomial: — all feature products up to degree .
  • RBF (Gaussian): — similarity that decays with distance; corresponds to an infinite-dimensional space.

Formula to remember

Margin

Maximise the margin by minimising ‖w‖.

Quick check · +5 XP

A very large γ in an RBF kernel tends to…

Practice this topic
Saved in this browser as you type.
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser