Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

SVM Confidence with 3 Classes

I really need to access the confidence of the prediction my SVM has made, and the method gives me the option of "returnDFVal":

returnDFVal – Specifies a type of the return value. If true and the problem is 2-class classification then the method returns the decision function value that is signed distance to the margin, else the function returns a class label (classification) or estimated function value (regression).

Unfortunately, I have 3 classes, so this doesn't work for me. Is there any way I can get around this or another method I can call to determine the confidence of my prediction?