SVM doesn't give a Class as a result
Hi again, I am having some problems with SVM classifier. I want to classify "histograms" of Bag of words, ORB feature descriptors. I define the SVM type as follow:
svm = SVM.create (); svm.setType (SVM.C_SVC); svm.setKernel (SVM.POLY); //svm.setTermCriteria(newTermCriteria(TermCriteria.MAX_ITER,100,1e-6)); svm.setTermCriteria (new TermCriteria (TermCriteria.EPS, 100, 1e-6));
The problem is that when I do the classification I don't get any class label. The output are as if I were doing regression whereas I am trying to do classification.
Thanks!
-It is an OpenCV plugin for Unity. A clone of OpenCV3.1 Java bindings.
again, ORB features are binary, how do you cluster those ? (you can't use kmeans or such)
you need integer labels for a classificationwith SVM.