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

double Impala::Core::Training::SvmProblemBuilder::ClassLabel ( Quid  q  )  const [inline, private]

Definition at line 176 of file SvmProblemBuilder.h.

References Impala::Core::Table::AnnotationTable::IsNegative(), Impala::Core::Table::AnnotationTable::IsPositive(), and mAnnotation.

Referenced by AddFeature().

00177     {
00178         if(mAnnotation == 0)
00179             return 0;
00180         if(mAnnotation->IsPositive(q))
00181             return 1;
00182         if(mAnnotation->IsNegative(q))
00183             return -1;
00184         return 0;
00185     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:24:08 2010 for ImpalaSrc by  doxygen 1.5.1