Definition at line 263 of file ActiveLearnEngineQuids.h. References Impala::Core::Table::AnnotationTable::GetNrNegative(), Impala::Core::Table::AnnotationTable::GetNrPositive(), ILOG_WARN, and mAnnotations. Referenced by Impala::Application::ConceptLearnClient::DoActiveLearning(). 00264 { 00265 // return true iff input is correct, and engine is ready to learn new results. 00266 00267 if (mAnnotations->GetNrPositive() == 0) 00268 { 00269 ILOG_WARN("No positive examples, ALE not ready."); 00270 return false; 00271 } 00272 00273 if (mAnnotations->GetNrNegative() == 0) 00274 { 00275 ILOG_WARN("No negative examples, ALE not ready."); 00276 return false; 00277 } 00278 00279 00280 return true; 00281 }
Here is the call graph for this function: ![]()
|