yat  0.14.5pre
Public Member Functions | List of all members
theplu::yat::classifier::GaussianKernelFunction Class Reference

Class for Gaussian kernel calculations. More...

#include <yat/classifier/GaussianKernelFunction.h>

Inheritance diagram for theplu::yat::classifier::GaussianKernelFunction:
theplu::yat::classifier::KernelFunction

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
 

Detailed Description

Class for Gaussian kernel calculations.

Constructor & Destructor Documentation

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  )
inlinevirtual

Destructor

Member Function Documentation

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.

Returns
$ exp(-(x - y)^{2}/\sigma^2) $

Implements theplu::yat::classifier::KernelFunction.

double theplu::yat::classifier::GaussianKernelFunction::operator() ( const DataLookup1D x,
const DataLookupWeighted1D y 
) const
virtual
double theplu::yat::classifier::KernelFunction::operator() ( const DataLookupWeighted1D vec_w,
const DataLookup1D vec 
) const
inlineinherited
Returns
scalar product of two vector in feature space.
double theplu::yat::classifier::GaussianKernelFunction::operator() ( const DataLookupWeighted1D x,
const DataLookupWeighted1D y 
) const
virtual

The documentation for this class was generated from the following file:

Generated on Tue Sep 26 2017 02:33:29 for yat by  doxygen 1.8.5