Machine Learning Library
|
ANOVA kernel function. More...
#include <CKernel.h>
Public Member Functions | |
CAnovaKernel (Type tBandwidth=1, int iDegree=2) | |
~CAnovaKernel () | |
CAnovaKernel< Type > & | operator= (const CAnovaKernel< Type > &rtKernel) |
CAnovaKernel (const CAnovaKernel< Type > &rtKernel) | |
CAnovaKernel< Type > * | clone () const |
void | setDegree (int iDegree) |
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 () |
bool | serialize (fstream &stream, IO_MODE mode) |
Read/write from binary stream. More... | |
virtual bool | serialize2 (CArchiv &tA) |
![]() | |
CKernel (Type tBandwidth=-1.0) | |
virtual | ~CKernel () |
Type | bandwidth () const |
void | setBandwidth (Type tB) |
![]() | |
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... | |
Protected Attributes | |
int | iDegree |
![]() | |
unsigned char | ucVerbose |
ANOVA kernel function.
Kernel function
CAnovaKernel< Type >::CAnovaKernel | ( | Type | tBandwidth = 1 , |
int | iDegree = 2 |
||
) |
CAnovaKernel< Type >::~CAnovaKernel | ( | ) |
CAnovaKernel< Type >::CAnovaKernel | ( | const CAnovaKernel< Type > & | rtKernel | ) |
|
inlinevirtual |
Returns the class name.
Reimplemented from CKernel< Type >.
Referenced by CAnovaKernel< 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 >.
|
inlinevirtual |
Check if the object is an instance of the class with given name.
Reimplemented from CKernel< Type >.
References CAnovaKernel< Type >::className(), and CKernel< Type >::isA().
CAnovaKernel<Type>& CAnovaKernel< Type >::operator= | ( | const CAnovaKernel< Type > & | rtKernel | ) |
|
virtual |
Read/write from binary stream.
The functions handles different data types e.g for reading float objects in a double instance, etc.
fstream | Reference to binary stream |
mode | Switches between reading and writing |
Reimplemented from CKernel< Type >.
|
virtual |
Reimplemented from CKernel< Type >.
|
inline |
|
protected |