aboutsummaryrefslogtreecommitdiff
path: root/docs/kernels.txt
blob: 479b6c07c53d926fceba3956ef3f9d68067d1b43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Kernels in GenSVM
-----------------

Kernels in GenSVM are implemented as follows.

- Radial Basis Function (RBF):

.. math::

  k(x_1, x_2) = \exp(-\gamma \| x_1 - x_2 \|^2 )

- Polynomial:

.. math::

  k(x_1, x_2) = (\gamma x_1'x_2 + coef)^{degree}

- Sigmoid:

.. math::

  k(x_1, x_2) = \tanh(\gamma x_1'x_2 + coef)