#include <ScaledGaussianKernel.h>
Inheritance diagram for PLearn::ScaledGaussianKernel:
Public Member Functions | |
ScaledGaussianKernel () | |
ScaledGaussianKernel (real the_sigma, Vec the_phi) | |
PLEARN_DECLARE_OBJECT (ScaledGaussianKernel) | |
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 option is "sigma" | |
Protected Attributes | |
real | sigma |
Vec | phi |
Private Types | |
typedef Kernel | inherited |
Definition at line 55 of file ScaledGaussianKernel.h.
|
Reimplemented from PLearn::Kernel. Definition at line 57 of file ScaledGaussianKernel.h. |
|
Definition at line 64 of file ScaledGaussianKernel.h. |
|
Definition at line 66 of file ScaledGaussianKernel.h. |
|
recognized option is "sigma"
Reimplemented from PLearn::Kernel. Definition at line 60 of file ScaledGaussianKernel.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
returns K(x1,x2)
Implements PLearn::Kernel. Definition at line 57 of file ScaledGaussianKernel.cc. References PLearn::exp(), phi, sigma, PLearn::square(), and PLearn::weighted_powdistance(). |
|
Definition at line 51 of file ScaledGaussianKernel.cc. References PLearn::deepCopyField(), and phi. |
|
|
|
Definition at line 61 of file ScaledGaussianKernel.h. Referenced by evaluate(), makeDeepCopyFromShallowCopy(), and ScaledGaussianKernel(). |
|
Definition at line 60 of file ScaledGaussianKernel.h. Referenced by evaluate(), and ScaledGaussianKernel(). |