Kernels in GenSVMΒΆ

Kernels in GenSVM are implemented as follows.

  • Radial Basis Function (RBF):
\[k(x_1, x_2) = \exp(-\gamma \| x_1 - x_2 \|^2 )\]
  • Polynomial:
\[k(x_1, x_2) = (\gamma x_1'x_2 + coef)^{degree}\]
  • Sigmoid:
\[k(x_1, x_2) = \tanh(\gamma x_1'x_2 + coef)\]