MATLAB Answers

confidence score or confidence value of the classifier?

24 views (last 30 days)
Mammo Image
Mammo Image on 11 May 2016
Commented: Star Strider on 22 May 2016
Hi
I am using computer vision for activity recognition .. I am dealing now with four classes using SVM classifier.
I need confidence score of SVM for each of the classes. is there any way used for computing the accuracy of the classifier??
I meant if it is possible to make the classifier make the prediction and show the confidence value of this prediction.
Thanks so much

  9 Comments

Show 6 older comments
Mammo Image
Mammo Image on 17 May 2016
Image Analyst, any suggestion? still waiting your response.
thanks
Image Analyst
Image Analyst on 17 May 2016
I'd try the Classification Learner app, or follow Star's advice.

Sign in to comment.

Answers (1)

Star Strider
Star Strider on 11 May 2016
Classifiers have their own special statistical properties. See the crosstab function.

  4 Comments

Show 1 older comment
Star Strider
Star Strider on 13 May 2016
Apparently, for fitcsvm, there are two possible ways to calculate the probability: this version of kfoldpredict, and kfoldfun, neither of them obvious to me.
Explore these options and others to see what best meets your needs.
I have no experience with them since I’ve not used the SVM classifiers.
----------------------------------------------------------------------------------------------------------------------------------
EDIT (14 May 2016 05:27 UTC) If you only have two classes, use the fishertest function. It will give you the confidence intervals.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!