SVMKernelType Enumeration OpenCvSharp Class Library
The kernel type of SVM

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public enum SVMKernelType
Members

  Member nameValueDescription
Linear0 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) [CvSVM::LINEAR]
Poly1 polynomial kernel: d(x,y) = (gamma*(x•y)+coef0)^degree [CvSVM::POLY]
Rbf2 radial-basis-function kernel; a good choice in most cases: d(x,y) = exp(-gamma*|x-y|^2) [CvSVM::RBF]
Sigmoid3 sigmoid function is used as a kernel: d(x,y) = tanh(gamma*(x•y)+coef0) [CvSVM::SIGMOID]
See Also

Reference