Implements Impala::Core::Training::ApplyConceptsHelper. Definition at line 53 of file ApplyConceptsHelperFeatures.h. References Impala::Core::Database::RawDataSet::GetDatabase(), ILOG_DEBUG, ILOG_ERROR, Impala::Core::Training::LoadClassifier(), mAnnoSet, mFeatures, mInitialized, and Impala::Core::Training::Classifier::Predict(). 00054 { 00055 if(!mInitialized) 00056 ILOG_ERROR("not initialized"); 00057 Training::Classifier* classifier = 00058 Training::LoadClassifier(modelName, mAnnoSet->GetDatabase()); 00059 TrainDataSrcFeatureTable dataSrc(0, mFeatures); 00060 ILOG_DEBUG("data size = " << dataSrc.Size()); 00061 Table::ScoreTable* scores = classifier->Predict(&dataSrc); 00062 delete classifier; 00063 return scores; 00064 }
Here is the call graph for this function:
|