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:
|