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 ¶ms) 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... | |
Dummy classifier (just for testing purposes).
te::cl::Dummy< TTRAIN, TCLASSIFY >::Dummy | ( | ) |
Definition at line 144 of file Dummy.h.
References te::cl::Dummy< TTRAIN, TCLASSIFY >::m_isInitialized.
te::cl::Dummy< TTRAIN, TCLASSIFY >::~Dummy | ( | ) |
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 | |
) |
Definition at line 182 of file Dummy.h.
References te::cl::Dummy< TTRAIN, TCLASSIFY >::Parameters::m_dummyParameter, and te::cl::Dummy< TTRAIN, TCLASSIFY >::m_parameters.
bool te::cl::Dummy< TTRAIN, TCLASSIFY >::initialize | ( | const Parameters & | params | ) | |
throw | ( | te::cl::Exception | |||
) |
Definition at line 155 of file Dummy.h.
References te::cl::Dummy< TTRAIN, TCLASSIFY >::Parameters::m_dummyParameter, te::cl::Dummy< TTRAIN, TCLASSIFY >::m_isInitialized, te::cl::Dummy< TTRAIN, TCLASSIFY >::m_parameters, and TE_TR.
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 | |
) |
|
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().
|
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().