Kernels
Discover the power of kernels: functions, examples, tricks, and popular types.
We'll cover the following...
Kernels are an important concept in machine learning and pattern recognition. They’re a mathematical function that maps input data into a high-dimensional feature space where it’s easier to classify or analyze. Kernels allow us to perform complex computations on data that would otherwise be difficult or impossible to process in its original form.
Kernel function
A kernel function can be thought of as a dot product in the feature space defined by the mapping . Given two input vectors and , the dot product in the feature space can be represented as . It’s possible to compute the dot product in the feature space via a kernel function on the input vectors.
Polynomial kernel example
Assume two input vectors ...