How to generate a confusion matrix?

2 Ansichten (letzte 30 Tage)
Andreea Stancu
Andreea Stancu am 17 Jun. 2019
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

Antworten (0)

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by