iRoCS Toolbox
1.1.0
|
#include <Model_MC.hh>
Public Types | |
typedef TCModel::FV_type | FV |
Public Member Functions | |
Model_MC () | |
Model_MC (const Model_MC< TCModel > &orig) | |
~Model_MC () | |
double | classIndexToLabel (unsigned int classIndex) const |
const std::vector< FV * > & | collectedSupportVectors () const |
void | freeCollectedSupportVectors () |
std::vector< FV * > | getSupportVectors () const |
bool | isModelAffectedByLeftOutVectors (const std::vector< char > &leaveOutFlagsByUID) const |
check, if this model is affected by specified left out vectors, which means, that it needs to be retrained, if these vectors are left out from the training data set More... | |
unsigned int | maxUniqueID () const |
Model_MC< TCModel > & | operator= (const Model_MC< TCModel > &orig) |
void | resizeCollectedSupportVectors (unsigned int size) |
void | setClassIndizesToLabels (const std::vector< double > &v) |
Protected Member Functions | |
template<typename ForwardIter , typename STDATA > | |
void | calcTrainingStatisticsFromTCModels (const ForwardIter &modelsBegin, const ForwardIter &modelsEnd, STDATA &statistics) |
template<typename ForwardIter > | |
void | collectSupportVectorsFromTCModels (const ForwardIter &modelsBegin, const ForwardIter &modelsEnd) |
template<typename STDATA > | |
void | loadSupportVectorsAndClassLabels (STDATA &stData) |
template<typename STDATA > | |
void | saveSupportVectorsAndClassLabels (STDATA &stData) const |
Definition at line 65 of file Model_MC.hh.
typedef TCModel::FV_type svt::Model_MC< TCModel >::FV |
Definition at line 71 of file Model_MC.hh.
|
inline |
Definition at line 74 of file Model_MC.hh.
|
inline |
Definition at line 79 of file Model_MC.hh.
|
inline |
Definition at line 84 of file Model_MC.hh.
|
inline |
Definition at line 92 of file Model_MC.hh.
|
inline |
Definition at line 102 of file Model_MC.hh.
|
inline |
Definition at line 113 of file Model_MC.hh.
Referenced by svt::Model_MC< TCModel >::resizeCollectedSupportVectors(), and svt::Model_MC< TCModel >::~Model_MC().
|
inline |
Definition at line 128 of file Model_MC.hh.
|
inline |
Definition at line 135 of file Model_MC.hh.
|
inline |
Definition at line 140 of file Model_MC.hh.
|
inline |
Definition at line 145 of file Model_MC.hh.
Referenced by svt::MultiClassSVMOneVsRest< SVM >::classify(), and svt::MultiClassSVMOneVsOne< SVM >::classify().
|
inline |
check, if this model is affected by specified left out vectors, which means, that it needs to be retrained, if these vectors are left out from the training data set
leaveOutFlagsByUID | leave out flag for each feature vector, accessed via its uniqueID (true means leave this vector out from training) |
Definition at line 164 of file Model_MC.hh.
|
inline |
Definition at line 178 of file Model_MC.hh.
|
protected |
|
protected |
Referenced by svt::Model_MC< TCModel >::getSupportVectors().
|
protected |
Referenced by svt::Model_MC< TCModel >::getSupportVectors().
|
protected |