How to present my outcomes in the form of a confusion matrix

조회 수: 2 (최근 30일)
Nick Vasilakis
Nick Vasilakis 2022년 5월 23일
댓글: the cyclist 2022년 5월 24일
Hello.
So I've been assigned a task to compute the statistical values of a 3x3 confusion matrix by hand. After I managed to do so, I want to print my results just like in a confusion matrix.
My matrix is in the size of 6x2 and I want the final two values to be assigned together. In order to make it more specific:
this is my workspace values
And I want to present it like this:
Any advice would be very helpful

답변 (1개)

the cyclist
the cyclist 2022년 5월 24일
편집: the cyclist 2022년 5월 24일
If you have the Statistics and Machine Learning Toolbox, you could use the confusionchart or confusionmat command.
  댓글 수: 2
Nick Vasilakis
Nick Vasilakis 2022년 5월 24일
Yeah I know that.Although I want to do that by hand
the cyclist
the cyclist 2022년 5월 24일
I'm not sure what you mean by "by hand". Do you mean you don't want to use those functions, or you don't know how to use those functions to get what you want?
If you don't want to use the MATLAB function that was made for this job, then you need to decide how much of the work you want to do yourself, versus using MATLAB functions to do part of it. In that case, some "tools" you might want to use to build this figure yourself are

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

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by