Kernel trick
Using a similarity function to work in a huge feature space without ever computing the features.
Algorithms that only use dot products between examples, such as the SVM dual, can replace with a kernel that equals a dot product in some richer space. The RBF kernel
corresponds to an infinite-dimensional space but costs one exponential to compute. This turns linear methods into flexible non-linear ones; the cost is an kernel matrix.
See it in action
- Kernel methods and non-linear SVMsThe kernel trick: linear algorithms in huge feature spaces without ever computing the features.
- Support vector machinesThe maximum-margin classifier: hinge loss, soft margins, the C parameter and support vectors.
- Spectral clusteringCluster the similarity graph, not the raw space: Laplacians, eigenvectors and normalised cuts.