create an svm_problem of *one* example The returned structure must be deleted with FreeProblem(). Implements Impala::Core::Training::TrainDataSrc. Definition at line 43 of file TrainDataSrcKernelDistributed.h. References Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Add(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Get1(), ILOG_WARNING, Impala::Core::Training::TrainDataSrc::MakeEmptyProblem(), MakeProblem(), mDA, Impala::Core::Training::TrainDataSrc::mSelection, and Impala::Core::Table::Table::Size(). 00044 { 00045 set_distributed_access(mDA); 00046 if(i >= mSelection->Size()) 00047 { 00048 ILOG_WARNING("MakeSvmProblem(int) : index out of range"); 00049 return MakeEmptyProblem(); 00050 } 00051 Quid q = mSelection->Get1(i); 00052 Table::QuidTable t; 00053 t.Add(q); 00054 svm_problem* p = MakeProblem(&t); 00055 return p; 00056 }
Here is the call graph for this function:
|