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

PLearn::GeneralizedDistanceRBFKernel Class Reference

returns exp(-phi*(sum_i[abs(x1_i^a - x2_i^a)^b])^c) More...

#include <GeneralizedDistanceRBFKernel.h>

Inheritance diagram for PLearn::GeneralizedDistanceRBFKernel:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GeneralizedDistanceRBFKernel ()
 GeneralizedDistanceRBFKernel (real the_phi, real the_a, real the_b, real the_c)
 PLEARN_DECLARE_OBJECT (GeneralizedDistanceRBFKernel)
virtual real evaluate (const Vec &x1, const Vec &x2) const
 returns K(x1,x2)


Static Protected Member Functions

void declareOptions (OptionList &ol)
 recognized options are "phi", "a", "b" and "c"


Protected Attributes

real phi
real a
real b
real c

Private Types

typedef Kernel inherited

Detailed Description

returns exp(-phi*(sum_i[abs(x1_i^a - x2_i^a)^b])^c)

Definition at line 55 of file GeneralizedDistanceRBFKernel.h.


Member Typedef Documentation

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

Reimplemented from PLearn::Kernel.

Definition at line 57 of file GeneralizedDistanceRBFKernel.h.


Constructor & Destructor Documentation

PLearn::GeneralizedDistanceRBFKernel::GeneralizedDistanceRBFKernel  )  [inline]
 

Definition at line 63 of file GeneralizedDistanceRBFKernel.h.

References a, b, c, and phi.

PLearn::GeneralizedDistanceRBFKernel::GeneralizedDistanceRBFKernel real  the_phi,
real  the_a,
real  the_b,
real  the_c
[inline]
 

Definition at line 64 of file GeneralizedDistanceRBFKernel.h.

References a, b, c, and phi.


Member Function Documentation

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

recognized options are "phi", "a", "b" and "c"

Reimplemented from PLearn::Kernel.

Definition at line 65 of file GeneralizedDistanceRBFKernel.cc.

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

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

returns K(x1,x2)

Implements PLearn::Kernel.

Definition at line 51 of file GeneralizedDistanceRBFKernel.cc.

References a, b, c, PLearn::exp(), PLearn::TVec< T >::length(), phi, PLERROR, PLearn::pow(), and PLearn::Vec.

PLearn::GeneralizedDistanceRBFKernel::PLEARN_DECLARE_OBJECT GeneralizedDistanceRBFKernel   ) 
 


Member Data Documentation

real PLearn::GeneralizedDistanceRBFKernel::a [protected]
 

Definition at line 60 of file GeneralizedDistanceRBFKernel.h.

Referenced by evaluate(), and GeneralizedDistanceRBFKernel().

real PLearn::GeneralizedDistanceRBFKernel::b [protected]
 

Definition at line 60 of file GeneralizedDistanceRBFKernel.h.

Referenced by evaluate(), and GeneralizedDistanceRBFKernel().

real PLearn::GeneralizedDistanceRBFKernel::c [protected]
 

Definition at line 60 of file GeneralizedDistanceRBFKernel.h.

Referenced by evaluate(), and GeneralizedDistanceRBFKernel().

real PLearn::GeneralizedDistanceRBFKernel::phi [protected]
 

Definition at line 60 of file GeneralizedDistanceRBFKernel.h.

Referenced by evaluate(), and GeneralizedDistanceRBFKernel().


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