Definition
Kernel Function
Let be an input space. A kernel function is a function that computes the inner product of two data points after they have been mapped into a higher-dimensional Hilbert Space (feature space) via a map .
This allows for computing similarities in high dimensions directly from low-dimensional inputs, avoiding the explicit computation of (the kernel trick).
Properties
For a function to be a valid kernel, it must satisfy the following properties.
Symmetry
The kernel function must be symmetric:
Note that this reflects the symmetry of the inner product: .
Positive Semi-Definiteness
This is the crucial condition that guarantees the geometry of the feature space is valid (i.e., no negative lengths).
For any finite set of data points , the corresponding Kernel matrix must be a positive semi-definite.