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

virtual svm_problem* Impala::Core::Training::TrainDataSrcKernelMatrix::MakeSvmProblem ( int  i  )  [inline, virtual]

create an svm_problem of *one* example

The returned structure must be deleted with FreeProblem().

Implements Impala::Core::Training::TrainDataSrc.

Definition at line 41 of file TrainDataSrcKernelMatrix.h.

References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), ILOG_WARNING, Impala::Core::Training::TrainDataSrc::MakeEmptyProblem(), MakeProblem(), and mMatrix.

00042     {
00043         if(i >= mMatrix->CH())
00044         {
00045             ILOG_WARNING("MakeSvmProblem(int) : index out of range");
00046             return MakeEmptyProblem();
00047         }
00048         svm_problem* p = MakeProblem(i, i+1);
00049         return p;
00050     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:25:04 2010 for ImpalaSrc by  doxygen 1.5.1