#include <KernelMachines.h>
Static Public Attributes | |
| static const int | expo = 7 |
| Exponential Kernel. | |
| static const int | gaussian = 2 |
| Gaussian Kernel (also know as Radial Basis Kernel Function (RBF)). | |
| static const int | laplacian = 6 |
| Laplacian Kernel. | |
| static const int | linear = 0 |
| Linear Kernel. | |
| static const int | perc = 5 |
| Perceptron Kernel. | |
| static const int | polynomial = 1 |
| Polynomial Kernel. | |
| static const int | precomputed = 8 |
| Precomputed Kernel. | |
| static const int | sigmoid = 3 |
| Sigmoid Kernel. | |
| static const int | stump = 4 |
| Stump Kernel. | |
This class provides a set of public static attributes each representing a kernel type The integer values encoding the Kernel Types correspond to the values used in the LibSVM library.
Definition at line 24 of file KernelMachines.h.
const int damina::KernelType::expo = 7 [static] |
const int damina::KernelType::gaussian = 2 [static] |
Gaussian Kernel (also know as Radial Basis Kernel Function (RBF)).
K(x,y) = exp(-gamma * ||x-y||^2)
Here 'gamma' corresponds to 1/sigma^2, where 'sigma' is the variance
Definition at line 49 of file KernelMachines.h.
Referenced by damina::SVClustering::SVClustering().
const int damina::KernelType::laplacian = 6 [static] |
const int damina::KernelType::linear = 0 [static] |
const int damina::KernelType::perc = 5 [static] |
const int damina::KernelType::polynomial = 1 [static] |
Polynomial Kernel.
K(x,y) = (gamma * x' * y + coef)^degree
Definition at line 40 of file KernelMachines.h.
const int damina::KernelType::precomputed = 8 [static] |
Precomputed Kernel.
In LibSVM users may precompute kernel values and input them as training and testing files.
Definition at line 92 of file KernelMachines.h.
const int damina::KernelType::sigmoid = 3 [static] |
Sigmoid Kernel.
K(x,y) = tanh(gamma * x' * y + coef)
Definition at line 56 of file KernelMachines.h.
const int damina::KernelType::stump = 4 [static] |
1.5.2