RBF Struct Reference

#include <kernel.h>

Inheritance diagram for RBF:

Inheritance graph
[legend]
Collaboration diagram for RBF:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RBF (REAL g)
virtual REAL operator() (const Input &a, const Input &b) const
 The inner-product of two input vectors.
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

Public Attributes

REAL gamma

Detailed Description

Definition at line 114 of file kernel.h.


Constructor & Destructor Documentation

RBF REAL  g  )  [inline, explicit]
 

Definition at line 116 of file kernel.h.

Referenced by RBF::set_params().


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 from Perceptron.

Definition at line 122 of file kernel.h.

References DOTPROD.

virtual REAL operator() const Input a,
const Input b
const [inline, virtual]
 

The inner-product of two input vectors.

Reimplemented from Perceptron.

Definition at line 118 of file kernel.h.

References lemga::kernel::norm_2().

void set_params SVM_detail *   )  const [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.

Reimplemented from Perceptron.

Definition at line 158 of file svm.cpp.

References RBF::gamma, and RBF::RBF().


Member Data Documentation

REAL gamma
 

Definition at line 115 of file kernel.h.

Referenced by RBF::set_params().


The documentation for this struct was generated from the following files:
Generated on Mon Jan 9 23:45:28 2006 for LEMGA by  doxygen 1.4.6