te::cl::Dummy< TTRAIN, TCLASSIFY > Class Template Reference

Dummy classifier (just for testing purposes). More...

#include <Dummy.h>

Classes

class  Parameters
 Classifier Parameters. More...
 

Public Member Functions

bool classify (TCLASSIFY &itBegin, TCLASSIFY &itEnd, const std::vector< unsigned int > &attributesIndices, std::vector< unsigned int > &classification, const bool enableProgressInterface) throw (te::cl::Exception)
 
 Dummy ()
 
bool initialize (const Parameters &params) throw (te::cl::Exception)
 
bool train (TTRAIN &itBegin, TTRAIN &itEnd, const std::vector< unsigned int > &attributesIndices, const std::vector< unsigned int > &labels, const bool enableProgressInterface) throw (te::cl::Exception)
 
 ~Dummy ()
 

Protected Attributes

bool m_isInitialized
 True if this instance is initialized. More...
 
Parameters m_parameters
 Internal execution parameters. More...
 

Detailed Description

template<class TTRAIN, class TCLASSIFY>
class te::cl::Dummy< TTRAIN, TCLASSIFY >

Dummy classifier (just for testing purposes).

Definition at line 53 of file Dummy.h.

Constructor & Destructor Documentation

template<class TTRAIN , class TCLASSIFY >
te::cl::Dummy< TTRAIN, TCLASSIFY >::Dummy ( )

Definition at line 144 of file Dummy.h.

References te::cl::Dummy< TTRAIN, TCLASSIFY >::m_isInitialized.

template<class TTRAIN , class TCLASSIFY >
te::cl::Dummy< TTRAIN, TCLASSIFY >::~Dummy ( )

Definition at line 150 of file Dummy.h.

Member Function Documentation

template<class TTRAIN , class TCLASSIFY >
bool te::cl::Dummy< TTRAIN, TCLASSIFY >::classify ( TCLASSIFY &  itBegin,
TCLASSIFY &  itEnd,
const std::vector< unsigned int > &  attributesIndices,
std::vector< unsigned int > &  classification,
const bool  enableProgressInterface 
)
throw (te::cl::Exception
)
template<class TTRAIN , class TCLASSIFY >
bool te::cl::Dummy< TTRAIN, TCLASSIFY >::initialize ( const Parameters params)
throw (te::cl::Exception
)
template<class TTRAIN , class TCLASSIFY >
bool te::cl::Dummy< TTRAIN, TCLASSIFY >::train ( TTRAIN &  itBegin,
TTRAIN &  itEnd,
const std::vector< unsigned int > &  attributesIndices,
const std::vector< unsigned int > &  labels,
const bool  enableProgressInterface 
)
throw (te::cl::Exception
)

Definition at line 173 of file Dummy.h.

Member Data Documentation

template<class TTRAIN , class TCLASSIFY >
bool te::cl::Dummy< TTRAIN, TCLASSIFY >::m_isInitialized
protected

True if this instance is initialized.

Definition at line 101 of file Dummy.h.

Referenced by te::cl::Dummy< TTRAIN, TCLASSIFY >::Dummy(), and te::cl::Dummy< TTRAIN, TCLASSIFY >::initialize().

template<class TTRAIN , class TCLASSIFY >
Parameters te::cl::Dummy< TTRAIN, TCLASSIFY >::m_parameters
protected

Internal execution parameters.

Definition at line 102 of file Dummy.h.

Referenced by te::cl::Dummy< TTRAIN, TCLASSIFY >::classify(), and te::cl::Dummy< TTRAIN, TCLASSIFY >::initialize().


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