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

List of all members.

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   )  [inline, virtual]

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::GaussianKernelFunction::operator() ( const DataLookupWeighted1D x,
const DataLookupWeighted1D y 
) const [virtual]

double theplu::yat::classifier::KernelFunction::operator() ( const DataLookupWeighted1D vec_w,
const DataLookup1D vec 
) const [inline, inherited]

Returns:
scalar product of two vector in feature space.


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

Generated on Tue Jan 18 02:20:10 2011 for yat by  doxygen 1.5.5