Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

your problem is unrelated to your os or funny language there.

SVM::load returns a new SVM (it's a static, "factory" method), you'll have to use it like:

SVMAVB = Algorithm::load<ml::SVM>(some_file_name);

your problem is unrelated to your os or funny language there.

SVM::load returns a new SVM (it's a static, "factory" method), you'll have to use it like:

SVMAVB = Algorithm::load<ml::SVM>(some_file_name);

after that probably you want to check, if it worked, like:

if ((! SVMAVB.empty()) && (SVMAVB->isTrained()))
       // go on ..
else
      // wrong path ? garbled file ? check !