yat  0.8.3pre
Public Member Functions
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

Constructor taking the sigma_ , i.e. the width of the Gaussian,as input. Default is sigma_ = 1.

*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 Thu Dec 20 2012 03:12:58 for yat by  doxygen 1.8.0-20120409