Machine Learning Library
|
Gaussian kernel function. More...
#include <CKernel.h>
Public Member Functions | |
CGaussianKernel (Type tBandwidth=1.0) | |
~CGaussianKernel () | |
CGaussianKernel (const CGaussianKernel< Type > &tRef) | |
CGaussianKernel & | operator= (const CGaussianKernel< Type > &rtKernel) |
Type | execute (const CVector< Type > &rtVector1, const CVector< Type > &rtVector2) const |
Type | execute (const CVector< Type > &rtVector1, const Type *ptVector2) const |
Type | execute (const Type *ptVector1, const Type *ptVector2, int iDim) const |
Type | execute (Type tValue) const |
virtual string | className () const |
Returns the class name. More... | |
virtual bool | isA (const char *acClass) const |
Check if the object is an instance of the class with given name. More... | |
string | factoryObject () |
Type | gradientBandwidth (const CVector< Type > &rtVector1, const CVector< Type > &rtVector2, Type tDiagConst=0) |
CGaussianKernel< Type > * | clone () const |
![]() | |
CKernel (Type tBandwidth=-1.0) | |
virtual | ~CKernel () |
Type | bandwidth () const |
void | setBandwidth (Type tB) |
virtual bool | serialize (fstream &stream, IO_MODE mode) |
Read/write from binary stream. More... | |
virtual bool | serialize2 (CArchiv &tA) |
![]() | |
CObject () | |
Constructor. More... | |
virtual | ~CObject () |
Destructor. More... | |
void | setVerbose (VERBOSE_LEVEL tVerbose) |
Set the verbose level. More... | |
VERBOSE_LEVEL | verbose (void) const |
Return current verbose level. More... | |
DATATYPE | dataType () const |
Returns the template data type. More... | |
Additional Inherited Members | |
![]() | |
unsigned char | ucVerbose |
Gaussian kernel function.
Gaussian kernel function:
CGaussianKernel< Type >::CGaussianKernel | ( | Type | tBandwidth = 1.0 | ) |
CGaussianKernel< Type >::~CGaussianKernel | ( | ) |
CGaussianKernel< Type >::CGaussianKernel | ( | const CGaussianKernel< Type > & | tRef | ) |
|
inlinevirtual |
Returns the class name.
Reimplemented from CKernel< Type >.
Referenced by CGaussianKernel< Type >::isA().
|
virtual |
Implements CKernel< Type >.
|
inlinevirtual |
Implements CKernel< Type >.
|
inlinevirtual |
Implements CKernel< Type >.
|
inlinevirtual |
Implements CKernel< Type >.
|
inlinevirtual |
Implements CKernel< Type >.
|
inlinevirtual |
Implements CKernel< Type >.
Type CGaussianKernel< Type >::gradientBandwidth | ( | const CVector< Type > & | rtVector1, |
const CVector< Type > & | rtVector2, | ||
Type | tDiagConst = 0 |
||
) |
|
inlinevirtual |
Check if the object is an instance of the class with given name.
Reimplemented from CKernel< Type >.
References CGaussianKernel< Type >::className(), and CKernel< Type >::isA().
CGaussianKernel& CGaussianKernel< Type >::operator= | ( | const CGaussianKernel< Type > & | rtKernel | ) |