Hello actually i'm developing a CBIR using opencv for features extraction and for the svm.
My issues is : I'm using a ONE_CLASS classifier with a RBF Kernel. I'm using the function predict of opencvSVM with the last parameter at true ( means that if the classifieur is binary then it return the signed distance to the margin ) in order to classify my data.
But even if this parameters is set to true it's return only the label ( so not very helpful in my case).
So my question is : What is the equation ( knowing the vector support) to calcul the distance of a data to the marge ?
Thanks