#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 |
theplu::yat::classifier::GaussianKernelFunction::GaussianKernelFunction | ( | double | = 1 |
) |
Constructor taking the sigma_ , i.e. the width of the Gaussian,as input. Default is sigma_ = 1.
virtual theplu::yat::classifier::GaussianKernelFunction::~GaussianKernelFunction | ( | void | ) | [inline, virtual] |
Destructor
double theplu::yat::classifier::KernelFunction::operator() | ( | const DataLookupWeighted1D & | vec_w, | |
const DataLookup1D & | vec | |||
) | const [inline, inherited] |
double theplu::yat::classifier::GaussianKernelFunction::operator() | ( | const DataLookupWeighted1D & | x, | |
const DataLookupWeighted1D & | y | |||
) | const [virtual] |
where
Implements theplu::yat::classifier::KernelFunction.
double theplu::yat::classifier::GaussianKernelFunction::operator() | ( | const DataLookup1D & | x, | |
const DataLookupWeighted1D & | y | |||
) | const [virtual] |
where
Implements theplu::yat::classifier::KernelFunction.
double theplu::yat::classifier::GaussianKernelFunction::operator() | ( | const DataLookup1D & | x, | |
const DataLookup1D & | y | |||
) | const [virtual] |
returning the scalar product of two vectors in feature space using the Gaussian kernel.
Implements theplu::yat::classifier::KernelFunction.