Ask Your Question

Confidence value of the multiclass SVM

asked 2018-04-17 08:36:00 -0500

vps gravatar image

Hi, As suggested link text. I am using superpixels. I have trained the multi class SVM by using INTER kernel. I want to find out confidence value. How shall I get the confidence value of predicated superpixels.


edit retag flag offensive close merge delete



opencv's SVM can't really give you confidence values for classification.

you can try to set the RAW_OUTPUT flag in the predict method, to get the "distance to the margin" , but that would only make sense in a 2-class case, not for multiple.

berak gravatar imageberak ( 2018-04-18 02:31:23 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2018-04-19 03:55:58 -0500

vps gravatar image

Thanks Berak

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-04-17 08:36:00 -0500

Seen: 364 times

Last updated: Apr 17 '18