Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Confidence value for svm model

I am using SVM algorithm to recognize Facial Expression using opencv library. I want to get prediction confidence of my test image but the syntax of predict is something like float response = svm->predict(TestDataMat). How can get the confidence value?? Thanks in advance!