Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PLearn::SigmoidalKernel Class Reference

returns sigmoid(c*x1.x2) More...

#include <SigmoidalKernel.h>

Inheritance diagram for PLearn::SigmoidalKernel:

Inheritance graph
[legend]
Collaboration diagram for PLearn::SigmoidalKernel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SigmoidalKernel ()
 SigmoidalKernel (real the_c)
 PLEARN_DECLARE_OBJECT (SigmoidalKernel)
virtual real evaluate (const Vec &x1, const Vec &x2) const
 returns K(x1,x2)


Static Protected Member Functions

void declareOptions (OptionList &ol)
 recognized option is "c"


Protected Attributes

real c
 smoothing constant


Private Types

typedef Kernel inherited

Detailed Description

returns sigmoid(c*x1.x2)

Definition at line 53 of file SigmoidalKernel.h.


Member Typedef Documentation

typedef Kernel PLearn::SigmoidalKernel::inherited [private]
 

Reimplemented from PLearn::Kernel.

Definition at line 55 of file SigmoidalKernel.h.


Constructor & Destructor Documentation

PLearn::SigmoidalKernel::SigmoidalKernel  )  [inline]
 

Definition at line 61 of file SigmoidalKernel.h.

References c.

PLearn::SigmoidalKernel::SigmoidalKernel real  the_c  )  [inline]
 

Definition at line 62 of file SigmoidalKernel.h.

References c.


Member Function Documentation

void PLearn::SigmoidalKernel::declareOptions OptionList ol  )  [static, protected]
 

recognized option is "c"

Reimplemented from PLearn::Kernel.

Definition at line 55 of file SigmoidalKernel.cc.

References PLearn::declareOption(), and PLearn::OptionList.

real PLearn::SigmoidalKernel::evaluate const Vec x1,
const Vec x2
const [virtual]
 

returns K(x1,x2)

Implements PLearn::Kernel.

Definition at line 51 of file SigmoidalKernel.cc.

References c, PLearn::dot(), PLearn::sigmoid(), and PLearn::Vec.

PLearn::SigmoidalKernel::PLEARN_DECLARE_OBJECT SigmoidalKernel   ) 
 


Member Data Documentation

real PLearn::SigmoidalKernel::c [protected]
 

smoothing constant

Definition at line 58 of file SigmoidalKernel.h.

Referenced by evaluate(), and SigmoidalKernel().


The documentation for this class was generated from the following files:
Generated on Tue Aug 17 16:23:45 2004 for PLearn by doxygen 1.3.7