How to generate a confusion matrix?
3 views (last 30 days)
Show older comments
Dear all,
I need to calculate the precision, sensitivity and Fscore for a segmentation algorithm which I used on a 200 image database. Basically I have to overlay the mask I obtained, which, I guess, it represents the predicted class, over the orginial image, which is the ground truth and the actual class, I assume. This overlaying is done by the confusion matrix or do I have to do it separately? If so, how? Also I read that in the confusion matrix the classes must be of the same type, my images are RGB and the mask is binary, so my wild guess is that it wouldn't work like this.
I don't know how to do this overlaying thing and classification for the confusion matrix. If you could provide some step-by-step guidance it would be great!
Thanks in advance
0 Comments
Answers (0)
See Also
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!