yat
0.14.5pre
|
Class for Gaussian kernel calculations. More...
#include <yat/classifier/GaussianKernelFunction.h>
Public Member Functions | |
GaussianKernelFunction (double=1) | |
virtual | ~GaussianKernelFunction (void) |
double | operator() (const DataLookup1D &x, const DataLookup1D &y) const |
double | operator() (const DataLookup1D &x, const DataLookupWeighted1D &y) const |
double | operator() (const DataLookupWeighted1D &x, const DataLookupWeighted1D &y) const |
double | operator() (const DataLookupWeighted1D &vec_w, const DataLookup1D &vec) const |
Class for Gaussian kernel calculations.
theplu::yat::classifier::GaussianKernelFunction::GaussianKernelFunction | ( | double | = 1 | ) |
Constructor taking the sigma_ , i.e. the width of the Gaussian,as input. Default is sigma_ = 1.
|
inlinevirtual |
Destructor
|
virtual |
returning the scalar product of two vectors in feature space using the Gaussian kernel.
Implements theplu::yat::classifier::KernelFunction.
|
virtual |
where
Implements theplu::yat::classifier::KernelFunction.
|
inlineinherited |
|
virtual |
where
Implements theplu::yat::classifier::KernelFunction.