Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
  • why is there python code in an android question ?

  • svm.load(datasetFile.getAbsolutePath()); here's your problem. load() does not work, like you expect it. RTFM for a change..

  • why is there python code in an android question ?

  • svm.load(datasetFile.getAbsolutePath()); here's your problem. load() does not work, like you expect it. RTFM for a change..

svm.load(datasetFile.getAbsolutePath()); here's your problem. load() does not work, like you expect it. RTFM for a change..it.

svm.load(datasetFile.getAbsolutePath()); here's your problem. problem:

svm.load(datasetFile.getAbsolutePath());

load() does not work, like you expect it.it. it's not a member function, but a static one, returning a new object.

use it like:

SVM svm = SVM.load(some_path);

else you throw away everything, and leave your svm untrained.