SVM kernel type
| C# | Visual Basic | Visual C++ |
public enum SVM_KERNEL_TYPE
Public Enumeration SVM_KERNEL_TYPE
public enum class SVM_KERNEL_TYPE
| Member | Description |
|---|---|
| LINEAR |
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 |
polynomial kernel: d(x,y) = (gamma*(xy)+coef0)^degree
|
| RBF |
Radial-basis-function kernel; a good choice in most cases: d(x,y) = exp(-gamma*|x-y|^2)
|
| SIGMOID |
sigmoid function is used as a kernel: d(x,y) = tanh(gamma*(xy)+coef0)
|