Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

SVM doesn't give a Class as a result

$
0
0
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!

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>