Machine Learning Library
|
#include <CSVCandidate.h>
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 () |
SVTYPE & | type () |
Type & | targetValue () |
int & | lastChange () |
double & | gradient () |
double & | output () |
int & | id () |
const SVTYPE & | getType () 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) |
![]() | |
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) |
![]() | |
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 |
![]() | |
CVector< Type > * | ptInput |
CVector< Type > * | ptOutput |
int | iId |
![]() | |
unsigned char | ucVerbose |
|
inline |
References CSVCandidate< Type >::dGradient, CSVCandidate< Type >::dLagrange, CSVCandidate< Type >::dOutput, CDatasetItem< Type >::iId, CSVCandidate< Type >::iIdxTestSet, CSVCandidate< Type >::iLastChange, LAGRANGE, NONSUPPORT, CSVCandidate< Type >::tError, CSVCandidate< Type >::tSorting, CSVCandidate< Type >::tTargetValue, and CSVCandidate< Type >::tType.
|
inline |
References CSVCandidate< Type >::dGradient, CSVCandidate< Type >::dLagrange, CSVCandidate< Type >::dOutput, CDatasetItem< Type >::iId, CSVCandidate< Type >::iIdxTestSet, CSVCandidate< Type >::iLastChange, LAGRANGE, NONSUPPORT, CSVCandidate< Type >::tError, CSVCandidate< Type >::tSorting, CSVCandidate< Type >::tTargetValue, and CSVCandidate< Type >::tType.
|
inline |
References CSVCandidate< Type >::dGradient, CSVCandidate< Type >::dLagrange, CSVCandidate< Type >::dOutput, CDatasetItem< Type >::iId, CSVCandidate< Type >::iIdxTestSet, CSVCandidate< Type >::iLastChange, LAGRANGE, NONSUPPORT, CSVCandidate< Type >::tError, CSVCandidate< Type >::tSorting, CSVCandidate< Type >::tTargetValue, and CSVCandidate< Type >::tType.
|
inline |
References CSVCandidate< Type >::dGradient, CSVCandidate< Type >::dLagrange, CSVCandidate< Type >::dOutput, CDatasetItem< Type >::iId, CSVCandidate< Type >::iIdxTestSet, CSVCandidate< Type >::iLastChange, CSVCandidate< Type >::tError, CSVCandidate< Type >::tSorting, CSVCandidate< Type >::tTargetValue, and CSVCandidate< Type >::tType.
|
inline |
References CSVCandidate< Type >::dGradient, CSVCandidate< Type >::dLagrange, CSVCandidate< Type >::dOutput, CDatasetItem< Type >::getOutputComponent(), CDatasetItem< Type >::iId, CSVCandidate< Type >::iIdxTestSet, CSVCandidate< Type >::iLastChange, LAGRANGE, NONSUPPORT, CSVCandidate< Type >::tError, CSVCandidate< Type >::tSorting, CSVCandidate< Type >::tTargetValue, and CSVCandidate< Type >::tType.
|
inline |
|
inlinevirtual |
Returns the class name.
Reimplemented from CDatasetItem< Type >.
Referenced by CSVCandidate< Type >::isA().
|
inline |
References CSVCandidate< Type >::tError.
|
inline |
References CSVCandidate< Type >::dGradient.
|
inline |
References CDatasetItem< Type >::iId.
|
inline |
References CSVCandidate< Type >::dLagrange.
|
inline |
References CSVCandidate< Type >::iLastChange.
|
inline |
References CSVCandidate< Type >::dOutput.
|
inline |
References CSVCandidate< Type >::tTargetValue.
|
inline |
References CSVCandidate< Type >::tType.
|
inline |
References CSVCandidate< Type >::dGradient.
|
inline |
References CDatasetItem< Type >::iId.
|
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().
|
inline |
References CSVCandidate< Type >::dLagrange.
|
inline |
References CSVCandidate< Type >::iLastChange.
|
inline |
|
inline |
|
inline |
References CSVCandidate< Type >::dGradient, CSVCandidate< Type >::dLagrange, CSVCandidate< Type >::dOutput, CDatasetItem< Type >::iId, CSVCandidate< Type >::iIdxTestSet, CSVCandidate< Type >::iLastChange, CSVCandidate< Type >::tError, CSVCandidate< Type >::tSorting, CSVCandidate< Type >::tTargetValue, and CSVCandidate< Type >::tType.
|
inline |
|
inline |
|
inline |
References CSVCandidate< Type >::dOutput.
|
inlinevirtual |
Read/write object from/to binary stream
stream | Reference to stream |
Mode | (READ/WRITE) |
Reimplemented from CDatasetItem< Type >.
References CObject< Type >::dataType(), CSVCandidate< Type >::dGradient, CSVCandidate< Type >::dLagrange, CSVCandidate< Type >::dOutput, CSVCandidate< Type >::iIdxTestSet, CSVCandidate< Type >::iLastChange, readValueOfType(), CDatasetItem< Type >::serialize(), CSVCandidate< Type >::tError, CSVCandidate< Type >::tTargetValue, CSVCandidate< Type >::tType, and WRITE.
|
inlinevirtual |
Reimplemented from CDatasetItem< Type >.
References CSVCandidate< Type >::dGradient, CSVCandidate< Type >::dLagrange, CSVCandidate< Type >::dOutput, CArchiv::flush(), CSVCandidate< Type >::iIdxTestSet, CSVCandidate< Type >::iLastChange, CArchiv::isReading(), CSVCandidate< Type >::tError, CSVCandidate< Type >::tSorting, CSVCandidate< Type >::tTargetValue, and CSVCandidate< Type >::tType.
|
inline |
References CSVCandidate< Type >::tTargetValue.
|
inline |
References CSVCandidate< Type >::iIdxTestSet.
|
inline |
References CSVCandidate< Type >::tType.
|
protected |
|
protected |
Referenced by CSVCandidate< Type >::CSVCandidate(), CSVCandidate< Type >::getLagrange(), CSVCandidate< Type >::lagrange(), CSVCandidate< Type >::operator!=(), CSVCandidate< Type >::operator<(), CSVCandidate< Type >::operator=(), CSVCandidate< Type >::operator==(), CSVCandidate< Type >::operator>(), CSVCandidate< Type >::serialize(), and CSVCandidate< Type >::serialize2().
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by CSVCandidate< Type >::CSVCandidate(), CSVCandidate< Type >::error(), CSVCandidate< Type >::operator!=(), CSVCandidate< Type >::operator<(), CSVCandidate< Type >::operator=(), CSVCandidate< Type >::operator==(), CSVCandidate< Type >::operator>(), CSVCandidate< Type >::serialize(), and CSVCandidate< Type >::serialize2().
SORTING CSVCandidate< Type >::tSorting |
|
protected |
Referenced by CSVCandidate< Type >::CSVCandidate(), CSVCandidate< Type >::getTargetValue(), CSVCandidate< Type >::operator!=(), CSVCandidate< Type >::operator<(), CSVCandidate< Type >::operator=(), CSVCandidate< Type >::operator==(), CSVCandidate< Type >::operator>(), CSVCandidate< Type >::serialize(), CSVCandidate< Type >::serialize2(), and CSVCandidate< Type >::targetValue().
|
protected |