Table of Contents

Enum SVM.SvmKernelType

Namespace
Emgu.CV.ML
Assembly
Emgu.CV.dll

SVM kernel type

public enum SVM.SvmKernelType

Fields

Chi2 = 4

Exponential Chi2 kernel, similar to the RBF kernel

Custom = -1

Custom svm kernel type

Inter = 5

Histogram intersection kernel. A fast kernel. K(xi,xj)=min(xi,xj).

Linear = 0

No mapping is done, linear discrimination (or regression) is done in the original feature space. It is the fastest option. d(x,y) = x y == (x,y)

Poly = 1

polynomial kernel: d(x,y) = (gamma*(xy)+coef0)^degree

Rbf = 2

Radial-basis-function kernel; a good choice in most cases: d(x,y) = exp(-gamma*|x-y|^2)

Sigmoid = 3

sigmoid function is used as a kernel: d(x,y) = tanh(gamma*(xy)+coef0)