create an svm_problem of *one* example The returned structure must be deleted with FreeProblem(). Implements Impala::Core::Training::TrainDataSrc. Definition at line 44 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(). 00045 { 00046 //ILOG_INFO("MakeSvmProblem(int): set_distributed_access: "<< (void*)mDA); 00047 set_distributed_access(mDA); 00048 if(i >= mSelection->Size()) 00049 { 00050 ILOG_WARNING("MakeSvmProblem(int) : index out of range"); 00051 return MakeEmptyProblem(); 00052 } 00053 Quid q = mSelection->Get1(i); 00054 Table::QuidTable t; 00055 t.Add(q); 00056 svm_problem* p = MakeProblem(&t); 00057 return p; 00058 }
Here is the call graph for this function:
|