damina::KernelType Class Reference

Provides encoding for representing Kernel Types. More...

#include <KernelMachines.h>

List of all members.

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.


Detailed Description

Provides encoding for representing Kernel Types.

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.


Member Data Documentation

const int damina::KernelType::expo = 7 [static]

Exponential Kernel.

K(x,y) = exp(-gamma*||x-y||)

Definition at line 84 of file KernelMachines.h.

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]

Laplacian Kernel.

K(x,y) = exp(-gamma*|x-y|_1)

Definition at line 77 of file KernelMachines.h.

const int damina::KernelType::linear = 0 [static]

Linear Kernel.

K(x,y) = x' * y

Definition at line 33 of file KernelMachines.h.

const int damina::KernelType::perc = 5 [static]

Perceptron Kernel.

K(x, Y) = -||x-y||2 + coef

Definition at line 70 of file KernelMachines.h.

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]

Stump Kernel.

K(x,y) = -|x-y|_1 + coef

Definition at line 63 of file KernelMachines.h.


The documentation for this class was generated from the following file:
Generated on Mon Sep 24 22:26:59 2007 for SVClustering by  doxygen 1.5.2