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

#include <CSVCandidate.h>

Inheritance diagram for CSVCandidate< Type >:
CDatasetItem< Type > CObject< Type >

Public Member Functions

 CSVCandidate ()
 
 CSVCandidate (int iInputDim)
 
 CSVCandidate (const CVector< Type > &tInput, Type tClass)
 
 CSVCandidate (const CSVCandidate< Type > &rtItem)
 
 CSVCandidate (const CDatasetItem< Type > &rtItem)
 
CSVCandidate< Type > & operator= (const CSVCandidate< Type > &rtItem)
 
 ~CSVCandidate ()
 
bool operator== (const CSVCandidate< Type > &right) 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...
 
bool operator!= (const CSVCandidate< Type > &right) const
 
bool operator> (const CSVCandidate< Type > &right) const
 
bool operator< (const CSVCandidate< Type > &right) const
 
double & lagrange ()
 
Type & error ()
 
int testSetIndex ()
 
SVTYPEtype ()
 
Type & targetValue ()
 
int & lastChange ()
 
double & gradient ()
 
double & output ()
 
int & id ()
 
const SVTYPEgetType () const
 
const Type & getTargetValue () const
 
const double & getLagrange () const
 
const int & getLastChange () const
 
const double & getGradient () const
 
const double & getOutput () const
 
const int & getId () const
 
bool serialize (fstream &stream, IO_MODE mode)
 
bool serialize2 (CArchiv &tA)
 
- Public Member Functions inherited from CDatasetItem< Type >
 CDatasetItem ()
 
 CDatasetItem (int iDimInput, int iDimOutput)
 
 CDatasetItem (const CVector< Type > &rtInput, const CVector< Type > &rtOutput)
 
 CDatasetItem (const CVector< Type > &rtInput, const CVector< Type > &rtOutput, const int iID)
 
 CDatasetItem (const CDatasetItem< Type > &rtItem)
 
virtual CDatasetItem< Type > & operator= (const CDatasetItem< Type > &rtItem)
 
 CDatasetItem (CVector< Type > *in, CVector< Type > *out)
 
virtual CDatasetItem< double > * convertToDouble ()
 
virtual CDatasetItem< float > * convertToFloat ()
 
virtual ~CDatasetItem ()
 
void setInputVector (const CVector< Type > &rtVector)
 
void setOutputVector (const CVector< Type > &rtVector)
 
const CVector< Type > & getInputVector () const
 
const CVector< Type > & inputVector () const
 
CVector< Type > & getInputVector ()
 
CVector< Type > & inputVector ()
 
CVector< Type > * inputVectorPtr () const
 
const CVector< Type > & getOutputVector () const
 
const CVector< Type > & outputVector () const
 
CVector< Type > & getOutputVector ()
 
CVector< Type > & outputVector ()
 
CVector< Type > * outputVectorPtr () const
 
Type getInputComponent (int iIndex) const
 
Type inputComponent (int iIndex) const
 
Type getOutputComponent (int iIndex) const
 
Type outputComponent (int iIndex) const
 
int inputDimension () const
 
int outputDimension () const
 
virtual bool operator== (const CDatasetItem< Type > &right) const
 
virtual bool operator!= (const CDatasetItem< Type > &right) const
 
virtual bool operator> (const CDatasetItem< Type > &right) const
 
virtual bool operator< (const CDatasetItem< Type > &right) const
 
int id () const
 
void setId (int iId)
 
- Public Member Functions inherited from CObject< Type >
 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...
 

Public Attributes

SORTING tSorting
 

Protected Attributes

double dLagrange
 
double dGradient
 
Type tTargetValue
 
Type tError
 
double dOutput
 
int iIdxTestSet
 
int iLastChange
 
SVTYPE tType
 
- Protected Attributes inherited from CDatasetItem< Type >
CVector< Type > * ptInput
 
CVector< Type > * ptOutput
 
int iId
 
- Protected Attributes inherited from CObject< Type >
unsigned char ucVerbose
 

Constructor & Destructor Documentation

template<class Type>
CSVCandidate< Type >::CSVCandidate ( )
inline
template<class Type>
CSVCandidate< Type >::CSVCandidate ( int  iInputDim)
inline
template<class Type>
CSVCandidate< Type >::CSVCandidate ( const CVector< Type > &  tInput,
Type  tClass 
)
inline
template<class Type>
CSVCandidate< Type >::CSVCandidate ( const CSVCandidate< Type > &  rtItem)
inline
template<class Type>
CSVCandidate< Type >::CSVCandidate ( const CDatasetItem< Type > &  rtItem)
inline
template<class Type>
CSVCandidate< Type >::~CSVCandidate ( )
inline

Member Function Documentation

template<class Type>
virtual string CSVCandidate< Type >::className ( ) const
inlinevirtual

Returns the class name.

Reimplemented from CDatasetItem< Type >.

Referenced by CSVCandidate< Type >::isA().

template<class Type>
Type& CSVCandidate< Type >::error ( )
inline
template<class Type>
const double& CSVCandidate< Type >::getGradient ( ) const
inline
template<class Type>
const int& CSVCandidate< Type >::getId ( ) const
inline
template<class Type>
const double& CSVCandidate< Type >::getLagrange ( ) const
inline
template<class Type>
const int& CSVCandidate< Type >::getLastChange ( ) const
inline
template<class Type>
const double& CSVCandidate< Type >::getOutput ( ) const
inline
template<class Type>
const Type& CSVCandidate< Type >::getTargetValue ( ) const
inline
template<class Type>
const SVTYPE& CSVCandidate< Type >::getType ( ) const
inline
template<class Type>
double& CSVCandidate< Type >::gradient ( )
inline
template<class Type>
int& CSVCandidate< Type >::id ( )
inline
template<class Type>
virtual bool CSVCandidate< Type >::isA ( const char *  acClass) const
inlinevirtual

Check if the object is an instance of the class with given name.

Reimplemented from CObject< Type >.

References CSVCandidate< Type >::className(), and CObject< Type >::isA().

template<class Type>
double& CSVCandidate< Type >::lagrange ( )
inline
template<class Type>
int& CSVCandidate< Type >::lastChange ( )
inline
template<class Type>
bool CSVCandidate< Type >::operator!= ( const CSVCandidate< Type > &  right) const
inline
template<class Type>
bool CSVCandidate< Type >::operator< ( const CSVCandidate< Type > &  right) const
inline
template<class Type>
CSVCandidate<Type>& CSVCandidate< Type >::operator= ( const CSVCandidate< Type > &  rtItem)
inline
template<class Type>
bool CSVCandidate< Type >::operator== ( const CSVCandidate< Type > &  right) const
inline
template<class Type>
bool CSVCandidate< Type >::operator> ( const CSVCandidate< Type > &  right) const
inline
template<class Type>
double& CSVCandidate< Type >::output ( )
inline
template<class Type>
bool CSVCandidate< Type >::serialize ( fstream &  stream,
IO_MODE  mode 
)
inlinevirtual
template<class Type>
bool CSVCandidate< Type >::serialize2 ( CArchiv tA)
inlinevirtual
template<class Type>
Type& CSVCandidate< Type >::targetValue ( )
inline
template<class Type>
int CSVCandidate< Type >::testSetIndex ( )
inline
template<class Type>
SVTYPE& CSVCandidate< Type >::type ( )
inline

Member Data Documentation

template<class Type>
double CSVCandidate< Type >::dGradient
protected
template<class Type>
double CSVCandidate< Type >::dLagrange
protected
template<class Type>
double CSVCandidate< Type >::dOutput
protected
template<class Type>
int CSVCandidate< Type >::iIdxTestSet
protected
template<class Type>
int CSVCandidate< Type >::iLastChange
protected
template<class Type>
Type CSVCandidate< Type >::tError
protected
template<class Type>
SORTING CSVCandidate< Type >::tSorting
template<class Type>
Type CSVCandidate< Type >::tTargetValue
protected
template<class Type>
SVTYPE CSVCandidate< Type >::tType
protected

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