kernel
A Kernel is a function that quantifies the similarity between two observations. It takes the data from a low dimensional feature space and maps it to a high dimensional space. This method is known as kernel trick.
For example, it takes the data points into higher dimensional space through the mapping and separates the points by a simple plane as shown in the figure.
Kernels are of mainly four types:
-
Linear kernel K (xi ,xj) = xi.xj
-
Polynomial kernel: K (xi ,xj) = (1 + xi.xj)d
-
Sigmoid kernel: K (xi, xj ) = tanh ((xi. xj) + 1)
-
Radial basis function: K (xi,xj) = exp (-γ ||xi - xj||2)
where, xi ,xj are input vectors
RELATED KEYWORDS