Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Classifier* Impala::Core::Training::LoadClassifier ( CString  modelFileName,
Util::Database *  db 
)

factory function for loading classifiers.

This class could make it possible to load a clasifier without knowing its type in advance.

Todo:
:
  • read model and find out what classifier it belongs to
  • all classifiers have a constructor that takes a models filename as argument

Definition at line 25 of file load.h.

References Impala::Core::Training::Classifier::LoadModel().

Referenced by Impala::Core::Training::ApplyConceptsHelperFeatures::Predict().

00026 {
00027     Classifier* c = new Svm();
00028     c->LoadModel(modelFileName, db);
00029         return c;
00030 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:22:59 2010 for ImpalaSrc by  doxygen 1.5.1