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

std::vector<Util::PropertySet*> Impala::Core::Training::ParameterSearcher::GetAllScores (  )  [inline]

Definition at line 114 of file ParameterSearcher.h.

References Impala::Util::PropertySet::GetInt(), Impala::Util::RangeIterator::GetParameters(), Impala::Util::RangeIterator::GetTotalIterations(), mIterator, mProperties, mScores, and Impala::Util::RangeIterator::SetIteration().

00115     {
00116         std::vector<Util::PropertySet*> res;
00117         int index = 0;
00118         for (int r=0 ; r<mProperties.GetInt("repetitions") ; r++)
00119         {
00120             for (int f=0 ; f<mProperties.GetInt("folds") ; f++)
00121             {
00122                 for (int i=0 ; i<mIterator.GetTotalIterations() ; i++)
00123                 {
00124                     Util::PropertySet* props = new Util::PropertySet;
00125                     mIterator.SetIteration(i);
00126                     mIterator.GetParameters(props);
00127                     props->Add("score", mScores[index]);
00128                     index++;
00129                     props->Add("repetition", r);
00130                     props->Add("fold", f);
00131                     res.push_back(props);
00132                 }
00133             }
00134         }
00135         return res;
00136     }

Here is the call graph for this function:


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