precision and recall computation
7 views (last 30 days)
Show older comments
soumya
on 4 Sep 2013
Commented: Abdulrahman Mkaies
on 30 Apr 2015
i have a background subtracted image and its ground truth. How can i find the accuracy using precision and recall.precision=tp/(tp+fp),and recall=tp/(tp+fn). F measure=2*p*r/p+r. i want to get these values. please help
0 Comments
Accepted Answer
Image Analyst
on 4 Sep 2013
How are you defining true positive (tp), false positive (fp), and false negative (fn)? Is it just based on whether the difference between your output pixel and your ground truth pixel is zero or non-zero? Wouldn't accuracy just be the ratio of true positive pixels to the number of pixels in your image?
11 Comments
Image Analyst
on 29 Apr 2015
I don't have the slightest idea what you're talking about. You're not even the original poster for this message, that's a year and a half old. Please read this and start your own question.
Abdulrahman Mkaies
on 30 Apr 2015
yes Sir, my question is here : http://www.mathworks.com/matlabcentral/answers/214319-accuracy-and-precision-computation , Could you give me your advise please ? , Thank you in advance
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!