Definition at line 242 of file ActiveLearnEngineQuids.h. References Impala::Core::Table::AnnotationTable::GetNrNegative(), Impala::Core::Table::AnnotationTable::GetNrPositive(), ILOG_WARN, and mAnnotations. 00243 { 00244 // return true iff input is correct, and engine is ready to learn new results. 00245 00246 if (mAnnotations->GetNrPositive() == 0) 00247 { 00248 ILOG_WARN("No positive examples, ALE not ready."); 00249 return false; 00250 } 00251 00252 if (mAnnotations->GetNrNegative() == 0) 00253 { 00254 ILOG_WARN("No negative examples, ALE not ready."); 00255 return false; 00256 } 00257 00258 00259 return true; 00260 }
Here is the call graph for this function:
|