yat  0.16pre
Public Member Functions | List of all members
theplu::yat::classifier::KernelFunction Class Referenceabstract

Interface class calculating elements in Kernel. More...

#include <yat/classifier/KernelFunction.h>

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

Public Member Functions

 KernelFunction (void)
 
virtual ~KernelFunction (void)
 
virtual double operator() (const DataLookup1D &, const DataLookup1D &) const =0
 
virtual double operator() (const DataLookup1D &, const DataLookupWeighted1D &) const =0
 
double operator() (const DataLookupWeighted1D &vec_w, const DataLookup1D &vec) const
 
virtual double operator() (const DataLookupWeighted1D &, const DataLookupWeighted1D &) const =0
 

Detailed Description

Interface class calculating elements in Kernel.

Constructor & Destructor Documentation

theplu::yat::classifier::KernelFunction::KernelFunction ( void  )
inline

Constructor

virtual theplu::yat::classifier::KernelFunction::~KernelFunction ( void  )
inlinevirtual

Destructor

Member Function Documentation

virtual double theplu::yat::classifier::KernelFunction::operator() ( const DataLookup1D ,
const DataLookup1D  
) const
pure virtual
Returns
scalar product of two vector in feature space.

Implemented in theplu::yat::classifier::PolynomialKernelFunction, and theplu::yat::classifier::GaussianKernelFunction.

virtual double theplu::yat::classifier::KernelFunction::operator() ( const DataLookup1D ,
const DataLookupWeighted1D  
) const
pure virtual
Returns
scalar product of two vector in feature space.

Implemented in theplu::yat::classifier::PolynomialKernelFunction, and theplu::yat::classifier::GaussianKernelFunction.

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

Implemented in theplu::yat::classifier::PolynomialKernelFunction, and theplu::yat::classifier::GaussianKernelFunction.


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

Generated on Wed Aug 15 2018 02:22:39 for yat by  doxygen 1.8.11