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

void Impala::Application::TestFolds ( Table::AnnotationTable *  annotation,
Database::RawDataSet *  dataSet 
)

Definition at line 24 of file mainCrossValidate.cpp.

References Impala::Core::Database::RawDataSet::GetLocator(), and Impala::QUID_CLASS_FRAME.

Referenced by CrossValidate().

00025 {
00026     std::vector<Table::QuidTable*> folds = annotation->MakeEpisodeFolds(3, 0);
00027     for (int i=0 ; i<folds.size() ; ++i)
00028     {
00029         Table::QuidTable* fold = folds[i];
00030         Persistency::FoldLocator loc(dataSet->GetLocator(), QUID_CLASS_FRAME,
00031                                      "concepts.txt", annotation->GetLabel(),
00032                                      "episode_folds", i);
00033         Persistency::FoldRepository().Add(loc, fold);
00034 
00035         delete fold;
00036     }
00037 }

Here is the call graph for this function:


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