Kernel Class Reference

The operator() gives the inner-product in the transformed space. More...

#include <kernel.h>

Inheritance diagram for Kernel:

Inheritance graph
[legend]
Collaboration diagram for Kernel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~Kernel ()
virtual REAL operator() (const Input &, const Input &) const =0
 The inner-product of two input vectors.
virtual void set_data (const pDataSet &pd)
 Store a dataset in order to compute the kernel matrix.
virtual REAL matrix (UINT i, UINT j) const
 The inner-product of two stored inputs with index i and j.
virtual void set_params (SVM_detail *) const =0

Protected Attributes

pDataSet ptd

Detailed Description

The operator() gives the inner-product in the transformed space.

Definition at line 43 of file kernel.h.


Constructor & Destructor Documentation

virtual ~Kernel  )  [inline, virtual]
 

Definition at line 48 of file kernel.h.


Member Function Documentation

virtual REAL matrix UINT  i,
UINT  j
const [inline, virtual]
 

The inner-product of two stored inputs with index i and j.

Reimplemented in Perceptron, and RBF.

Definition at line 55 of file kernel.h.

virtual REAL operator() const Input ,
const Input
const [pure virtual]
 

The inner-product of two input vectors.

Implemented in Linear, Polynomial, Stump, Perceptron, RBF, and Sigmoid.

virtual void set_data const pDataSet pd  )  [inline, virtual]
 

Store a dataset in order to compute the kernel matrix.

Reimplemented in Perceptron.

Definition at line 53 of file kernel.h.

virtual void set_params SVM_detail *   )  const [pure virtual]
 

In order to keep the SVM interface simple and avoid member functions specific to kernels (e.g., set_gamma()), we use Kernel to pass kernel parameters to SVM_detail.

Implemented in Linear, Polynomial, Stump, Perceptron, RBF, and Sigmoid.

Referenced by SVM::SVM().


Member Data Documentation

pDataSet ptd [protected]
 

Definition at line 45 of file kernel.h.


The documentation for this class was generated from the following file:
Generated on Mon Jan 9 23:45:21 2006 for LEMGA by  doxygen 1.4.6