how to find accuracy from confusion matrix having 4 x4 dimensions

조회 수: 1 (최근 30일)
Siyab Khan
Siyab Khan 2019년 3월 13일
댓글: Rik 2019년 3월 21일
I have used the following function for finding confusion matrix c=confusionmat(x,y)
it gives me output like that ,
C =
0 4 0 0
0 0 0 0
0 0 0 0
0 0 4 0
now i want to find accuracy and f_measure from this confusion matrix
  댓글 수: 2
Yasasvi Harish Kumar
Yasasvi Harish Kumar 2019년 3월 14일
Hi,
Whats the function? Please include it.
Rik
Rik 2019년 3월 21일
The F-statistic is a different matter (a Google search should help you find a way to calculate that), but since there are no values on the diagonal, you can immediately see that the accuracy is 0.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by