need help in confusion matrix details
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
lech king
am 23 Jan. 2021
Kommentiert: lech king
am 24 Jan. 2021
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/497992/image.jpeg)
0 Kommentare
Akzeptierte Antwort
the cyclist
am 23 Jan. 2021
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.
Weitere Antworten (0)
Siehe auch
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!