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

TrainDataSrc* Impala::Core::Training::Factory::MakeDataSrc ( Table::AnnotationTable anno  )  [inline]

actually the type of TrainDataSrc can depend on the 'kernel_name'

Definition at line 164 of file Factory.h.

References GetDistributedAccess(), Impala::Util::PropertySet::GetString(), mDataSet, mFeature, and mProperties.

Referenced by MakeSearcher(), and Impala::Application::TrainModel().

00165     {
00166         String kernelName = mProperties->GetString("kernel", "rbf");
00167         ILOG_INFO_HEADNODE("MakeDataSrc with kernel " << kernelName);
00168         if (kernelName == "dist-precomputed")
00169         {
00170             Matrix::DistributedAccess* da = GetDistributedAccess();
00171             return new TrainDataSrcKernelDistributed(da, anno);
00172         }
00173         return new TrainDataSrcFeature(anno, mDataSet, mFeature);
00174     }

Here is the call graph for this function:


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