Stump Struct Reference

#include <kernel.h>

Inheritance diagram for Stump:

Inheritance graph
[legend]
Collaboration diagram for Stump:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual REAL operator() (const Input &a, const Input &b) const
 The inner-product of two input vectors.
virtual void set_params (SVM_detail *) const

Detailed Description

Definition at line 83 of file kernel.h.


Member Function Documentation

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

The inner-product of two input vectors.

Implements Kernel.

Definition at line 84 of file kernel.h.

References lemga::kernel::norm_1().

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.

Implements Kernel.

Definition at line 169 of file svm.cpp.


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