Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Application::IDo::ModelTestW (  )  [inline]

Definition at line 1125 of file mainIDo.cpp.

References CheckCall(), CleanCall(), Exec(), ILOG_ERROR, mConcepts, mEpisodeConstrained, mModel, mSetName, and mWG.

Referenced by HandleCmd().

01126     {
01127         if (mConcepts.empty())
01128         {
01129             ILOG_ERROR("ModelTestW: need concepts");
01130             return;
01131         }
01132         if (mModel.empty())
01133         {
01134             ILOG_ERROR("ModelTestW: need model");
01135             return;
01136         }
01137         CleanCall("deletefold", "Frame concepts.txt anchor episode_folds 0");
01138         CleanCall("deletefold", "Frame concepts.txt anchor episode_folds 1");
01139         CleanCall("deletefold", "Frame concepts.txt anchor episode_folds 2");
01140 
01141         CleanCall("deletesvmproblem",
01142                   "concepts.txt testmodel " + mWG[0] + " anchor");
01143 
01144         String ini("${IMPALAROOT}/src/script/train.ini");
01145         Exec("crossvalidate", mSetName + " " + mConcepts + " " + mModel + " " +
01146              mWG[0] + " --ini " + ini + " " + mEpisodeConstrained +
01147              " --testMode");
01148 
01149         CheckCall("difffold", "Frame concepts.txt anchor episode_folds 0");
01150         CheckCall("difffold", "Frame concepts.txt anchor episode_folds 1");
01151         CheckCall("difffold", "Frame concepts.txt anchor episode_folds 2");
01152 
01153         CheckCall("diffsvmproblem",
01154                   "concepts.txt testmodel " + mWG[0] + " anchor");
01155     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:14:23 2011 for ImpalaSrc by  doxygen 1.5.1