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

Impala::Core::Training::ParameterSearcher::ParameterSearcher ( Util::PropertySet properties,
ParameterEvaluator evaluator 
) [inline]

Definition at line 29 of file ParameterSearcher.h.

References Impala::Util::RangeIterator::AddRange(), Impala::Util::PropertySet::GetInt(), Impala::Util::PropertySet::GetName(), Impala::Util::RangeIterator::GetTotalIterations(), Impala::Util::PropertySet::GetValue(), ILOG_DEBUG, Impala::Util::IsRangeDefinition(), mBestScore, mEvaluator, mIterator, mParallelMode, mProperties, mScores, and Impala::Util::PropertySet::Size().

00030     {
00031 #ifdef MPI_USED
00032         mParallelMode = true;
00033 #else
00034         mParallelMode = false;
00035 #endif
00036         mEvaluator = evaluator;
00037         mProperties = *properties;
00038         mBestScore = 0;
00039 
00040         int i;
00041         for(i=0 ; i<mProperties.Size() ; ++i)
00042         {
00043             std::string val = mProperties.GetValue(i);
00044             ILOG_DEBUG("prop found: "<< val);
00045             if(Util::IsRangeDefinition(val))
00046             {
00047                 mIterator.AddRange(mProperties.GetName(i), val);
00048             }
00049         }
00050         int r = mProperties.GetInt("repetitions");
00051         int f = mProperties.GetInt("folds");
00052         mScores.assign(mIterator.GetTotalIterations() * f * r, 0);
00053     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:23:46 2010 for ImpalaSrc by  doxygen 1.5.1