Machine Learning Library
|
Base class for projection algorithms like PCA, ICA, KPCA, etc. More...
#include <CProjection.h>
Public Member Functions | |
CProjection () | |
virtual | ~CProjection () |
virtual void | adapt (const CDataset< Type > &tDataset, int iNumDirections)=0 |
virtual CDataset< Type > | project (CDataset< Type > &rtDs, int iNumDirections=0)=0 |
virtual CDenseVector< Type > | project (const CDenseVector< Type > &rtVector, int iNumDirections=0)=0 |
virtual string | className () const |
Returns the class name. More... | |
int | directions () |
![]() | |
CObject () | |
Constructor. More... | |
virtual | ~CObject () |
Destructor. More... | |
virtual bool | serialize (fstream &stream, IO_MODE mode=READ) |
Read/write from binary stream. More... | |
virtual bool | serialize2 (CArchiv &tArchiv) |
void | setVerbose (VERBOSE_LEVEL tVerbose) |
Set the verbose level. More... | |
VERBOSE_LEVEL | verbose (void) const |
Return current verbose level. More... | |
virtual bool | isA (const char *acClass) const |
Check if the object is an instance of the class with given name. More... | |
DATATYPE | dataType () const |
Returns the template data type. More... | |
Protected Attributes | |
int | iNumDirections |
![]() | |
unsigned char | ucVerbose |
Base class for projection algorithms like PCA, ICA, KPCA, etc.
|
inline |
|
inlinevirtual |
|
pure virtual |
|
inlinevirtual |
Returns the class name.
Reimplemented from CObject< Type >.
|
inline |
Returns maximal number of possible projection direction
References CProjection< Type >::iNumDirections.
|
pure virtual |
|
pure virtual |
|
protected |
Maximal number of available directions
Referenced by CProjection< Type >::directions().