Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Kernels

TODO

  • tf is kernel perceptron?

General

  • you can just add a new dimension if data is not linearly separable in current dimensions
  • you can pretend to have more dimensions than you actually have, using kernels
  • kernel is similarity function that measures how similar two data points are
  • they are done using inner product (how much overlap do two vectors have?)
  • kernel trick - a method used in machine learning algorithms to operate in a high-dimensional space without explicitly mapping data points to that space, which is computationally expensive
  • RBF (Radial Basis Function) is default kernel, most of the time will work
  • ... and also works in infinite dimensions
$$K(x, y) = e^{-\gamma ||x - y||^2}$$
  • polynomial kernel - kernel which have d parameter (deegree of polynomial), which is used to control the complexity of the decision boundary
$$K(x, y) = (x \cdot y + c)^d$$

References