3415 194 0 0
0 0 0 0
0 0 0 0
0 0 160 82667
I got the result of 4*4 confusion matrix like above for Classification. While finding Sensitivity from the confusion matrix the result occured is NaN since i use the formula as True Negative /(True Negative+False Positive). How can I rectify this ? Can anyone please suggest how i can interpret the result?
[EDITED, matrix formatted, Jan Simon]

 채택된 답변

the cyclist
the cyclist 2012년 4월 20일

0 개 추천

Assuming your array is the output of the confusionmat() function http://www.mathworks.com/help/toolbox/stats/confusionmat.html, I believe the correct interpretation is as follows:
You have 3,609 events that are known to be category 1; you have correctly classified 3,415 of them and misclassified 194 of them as being in category 2.
You have no events that are known to be category 2 or 3.
You have 82,827 events that are known to be category 4; you have correctly classified 82,667 of them and misclassified 160 of them as being in category 3.
[I may have mixed up the "known" and "predicted" dimensions, but I don't think so.]

댓글 수: 1

DAD
DAD 2012년 4월 23일
row corresponds to the Actual Class ...Column Corresponds to the predicted Class...

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기

질문:

DAD
2012년 4월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by