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!