00001 #ifndef Impala_Core_Training_ApplyConceptsHelper_h 00002 #define Impala_Core_Training_ApplyConceptsHelper_h 00003 00004 namespace Impala 00005 { 00006 namespace Core 00007 { 00008 namespace Training 00009 { 00010 00011 class ApplyConceptsHelper 00012 { 00013 public: 00014 typedef Feature::FeatureTable FeatureTable; 00015 typedef Table::SimilarityTableSet::SimTableType SimTableType; 00016 00017 virtual 00018 ~ApplyConceptsHelper() 00019 { 00020 } 00021 00022 virtual void 00023 Initialise(Database::RawDataSet* annoSet, String input) = 0; 00024 00025 virtual String 00026 GetModelName() = 0; 00027 00028 virtual FeatureTable* 00029 LoadFeatures(Database::PathCreator* pathCreator) = 0; 00030 00031 virtual Table::ScoreTable* 00032 Predict(String modelType) = 0; 00033 00034 virtual void 00035 UnloadFeatures() = 0; 00036 }; 00037 00038 } //namespace 00039 } //namespace 00040 } //namespace 00041 00042 #endif