Home || Visual Search || Applications || Architecture || 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 209 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().

00210     {
00211         ILOG_DEBUG_NODE("MakeFolds called with these params: "<< f <<", "<<
00212                         foldCount <<" , "<< repetition);
00213         ClearSelection();
00214         if(f >= foldCount)
00215         {
00216             ILOG_ERROR("MakeFolds invalid input: "<< f <<" >= "<< foldCount);
00217             exit(1);
00218         }
00219         if(episodeConstrained)
00220             return mAnnotation->MakeEpisodeFolds(foldCount, repetition);
00221         else
00222             return mAnnotation->MakeRandomFolds(foldCount, repetition);
00223     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:21:22 2011 for ImpalaSrc by  doxygen 1.5.1