Machine Learning Library
Public Member Functions | Protected Attributes | List of all members
CProjection< Type > Class Template Referenceabstract

Base class for projection algorithms like PCA, ICA, KPCA, etc. More...

#include <CProjection.h>

Inheritance diagram for CProjection< Type >:
CObject< Type >

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 ()
 
- Public Member Functions inherited from CObject< Type >
 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
 
- Protected Attributes inherited from CObject< Type >
unsigned char ucVerbose
 

Detailed Description

template<class Type>
class CProjection< Type >

Base class for projection algorithms like PCA, ICA, KPCA, etc.

Constructor & Destructor Documentation

template<class Type >
CProjection< Type >::CProjection ( )
inline
template<class Type >
virtual CProjection< Type >::~CProjection ( )
inlinevirtual

Member Function Documentation

template<class Type >
virtual void CProjection< Type >::adapt ( const CDataset< Type > &  tDataset,
int  iNumDirections 
)
pure virtual
template<class Type >
virtual string CProjection< Type >::className ( ) const
inlinevirtual

Returns the class name.

Reimplemented from CObject< Type >.

template<class Type >
int CProjection< Type >::directions ( )
inline

Returns maximal number of possible projection direction

Returns
Max. number of directions

References CProjection< Type >::iNumDirections.

template<class Type >
virtual CDataset<Type> CProjection< Type >::project ( CDataset< Type > &  rtDs,
int  iNumDirections = 0 
)
pure virtual
template<class Type >
virtual CDenseVector<Type> CProjection< Type >::project ( const CDenseVector< Type > &  rtVector,
int  iNumDirections = 0 
)
pure virtual

Member Data Documentation

template<class Type >
int CProjection< Type >::iNumDirections
protected

Maximal number of available directions

Referenced by CProjection< Type >::directions().


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