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

PLearn::ScaledGeneralizedDistanceRBFKernel Class Reference

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

#include <ScaledGeneralizedDistanceRBFKernel.h>

Inheritance diagram for PLearn::ScaledGeneralizedDistanceRBFKernel:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ScaledGeneralizedDistanceRBFKernel ()
 ScaledGeneralizedDistanceRBFKernel (Vec the_phi, Vec the_a, real the_b, real the_c)
 PLEARN_DECLARE_OBJECT (ScaledGeneralizedDistanceRBFKernel)
virtual void makeDeepCopyFromShallowCopy (map< const void *, void * > &copies)
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 "b" and "c"


Protected Attributes

real b
real c
Vec phi
Vec a

Private Types

typedef Kernel inherited

Detailed Description

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

Definition at line 54 of file ScaledGeneralizedDistanceRBFKernel.h.


Member Typedef Documentation

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

Reimplemented from PLearn::Kernel.

Definition at line 56 of file ScaledGeneralizedDistanceRBFKernel.h.


Constructor & Destructor Documentation

PLearn::ScaledGeneralizedDistanceRBFKernel::ScaledGeneralizedDistanceRBFKernel  )  [inline]
 

Definition at line 63 of file ScaledGeneralizedDistanceRBFKernel.h.

References a, b, c, and phi.

PLearn::ScaledGeneralizedDistanceRBFKernel::ScaledGeneralizedDistanceRBFKernel Vec  the_phi,
Vec  the_a,
real  the_b,
real  the_c
[inline]
 

Definition at line 65 of file ScaledGeneralizedDistanceRBFKernel.h.

References a, b, c, and phi.


Member Function Documentation

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

recognized options are "b" and "c"

Reimplemented from PLearn::Kernel.

Definition at line 73 of file ScaledGeneralizedDistanceRBFKernel.cc.

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

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

returns K(x1,x2)

Implements PLearn::Kernel.

Definition at line 58 of file ScaledGeneralizedDistanceRBFKernel.cc.

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

void PLearn::ScaledGeneralizedDistanceRBFKernel::makeDeepCopyFromShallowCopy map< const void *, void * > &  copies  )  [virtual]
 

Definition at line 51 of file ScaledGeneralizedDistanceRBFKernel.cc.

References a, PLearn::deepCopyField(), and phi.

PLearn::ScaledGeneralizedDistanceRBFKernel::PLEARN_DECLARE_OBJECT ScaledGeneralizedDistanceRBFKernel   ) 
 


Member Data Documentation

Vec PLearn::ScaledGeneralizedDistanceRBFKernel::a [protected]
 

Definition at line 60 of file ScaledGeneralizedDistanceRBFKernel.h.

Referenced by evaluate(), makeDeepCopyFromShallowCopy(), and ScaledGeneralizedDistanceRBFKernel().

real PLearn::ScaledGeneralizedDistanceRBFKernel::b [protected]
 

Definition at line 59 of file ScaledGeneralizedDistanceRBFKernel.h.

Referenced by evaluate(), and ScaledGeneralizedDistanceRBFKernel().

real PLearn::ScaledGeneralizedDistanceRBFKernel::c [protected]
 

Definition at line 59 of file ScaledGeneralizedDistanceRBFKernel.h.

Referenced by evaluate(), and ScaledGeneralizedDistanceRBFKernel().

Vec PLearn::ScaledGeneralizedDistanceRBFKernel::phi [protected]
 

Definition at line 60 of file ScaledGeneralizedDistanceRBFKernel.h.

Referenced by evaluate(), makeDeepCopyFromShallowCopy(), and ScaledGeneralizedDistanceRBFKernel().


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