I've trained a two-class SVM, one for Accept and one for Reject. In my application, I'd rather have false acceptance then a false rejection. So I think I'd like to calculate a confidence score and empirically choose a threshold which is biased toward acceptance. The following thread discussed using SVM.decision_func directly with the support vector: Obtaining weights in CvSVM, the SVM implementation of OpenCV
But I'm not sure how to put it all together, particularly using the support vector with the actual test feature matrix to calculate a final scalar confidence score. How do I do that?
Thanks.