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

std::vector<Table::QuidTable*> Impala::Core::Training::TrainDataSrc::MakeFolds ( int  f,
int  foldCount,
int  repetition,
bool  episodeConstrained 
) [inline, protected]

Definition at line 167 of file TrainDataSrc.h.

References ClearSelection(), ILOG_ERROR, Impala::Core::Table::AnnotationTable::MakeEpisodeFolds(), Impala::Core::Table::AnnotationTable::MakeRandomFolds(), and mAnnotation.

Referenced by FilterTestFold(), and FilterTrainFold().

00168     {
00169         ILOG_DEBUG_NODE("MakeFolds called with these params: "<< f <<", "<<
00170                         foldCount <<" , "<< repetition);
00171         ClearSelection();
00172         if(f >= foldCount)
00173         {
00174             ILOG_ERROR("MakeFolds invalid input: "<< f <<" >= "<< foldCount);
00175             exit(1);
00176         }
00177         if(episodeConstrained)
00178             return mAnnotation->MakeEpisodeFolds(foldCount, repetition);
00179         else
00180             return mAnnotation->MakeRandomFolds(foldCount, repetition);
00181     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:24:45 2010 for ImpalaSrc by  doxygen 1.5.1