NEW+--
Min 75% OFF | Pay Day Sale Extended till 3rd June
Move Left Complete list

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:
 

  1. Linear kernel                              K (xi ,xj) =  xi.xj

  2. Polynomial kernel:                    K (xi ,xj) = (1 + xi.xj)d  

  3. Sigmoid kernel:                         K (xi, xj ) = tanh ((xi. xj) + 1)

  4. Radial basis function:                K (xi,xj) = exp (-γ ||xi - xj||2)

 

      where, xi ,xj are input vectors