need help in confusion matrix details

조회 수: 2 (최근 30일)
lech king
lech king 2021년 1월 23일
댓글: lech king 2021년 1월 24일
Hi
After training a network, I got this matrix
Can you explain the percentages written in the last row and column?
Does MATLAB have a code to calculate the following values?
accuracy
precision
recall.
F1 score
Thanks for your help

채택된 답변

the cyclist
the cyclist 2021년 1월 23일
The green number in the upper-right box is the fraction of correctly classified entries in that row (and the red is the incorrect).
The green number in the bottom-left box is the fraction of correctly classified entries in that column (and the red is the incorrect).
The green number in the bottom-right corner (grayer than the others) is the overall fraction of correct classification.
================
There are several different methods to do classification, in MATLAB. For example, you could use the Classification Learner App. You can get some of the outputs you want from that. Personally, I have always found it quite quick and easy to just code the definitions myself, given the predicted and actual classes.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Classification Ensembles에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by