Confusion matrix neural network plot interpretation
Ältere Kommentare anzeigen
I would greatly appreciate if someone could help me interpret the confusion matrix below. I don't understand the red, green and grey boxes.Also, what is the difference between test, validation, training and all confusion matrix. Thanks in advance!
Akzeptierte Antwort
Weitere Antworten (1)
Greg Heath
am 27 Sep. 2016
This is a VERY POOR classification confusion matrix layout
1. There should be three confusion matrices
a. One 5x5 count confusion matrix
b. Two 5x5 percent confusion matrices
2. For the count confusion matrix
a. The rows should indicate how many of
each target class are classified into
each output class
b. The last column should contain the
total number of members of each
"T"arget class
c. The last row should contain the total
number of members "A"ssigned to each
class
1 2 3 4 | T
----------------------------
1| 6670 28 801 501 | 8000
2| 86 6476 762 676 | 8000
3| 1234 625 5934 207 | 8000
4| 558 804 127 6511 | 8000
----------------------------
A| 8548 7933 7624 7895 | 3200
3. For the row percent confusion matrix
each row is divided by the total in column
T and multiplied by 100. This indicates
what percent of each class is assigned to
each output.
4. For the column percent confusion matrix
each column is divided by the total in row
A and multiplied by 100. This indicates what
percent of each output is caused by which
target class.
5. THE MATLAB CONVENTION
a. The count confusion is TRANSPOSED from
the classical convention.
b. It is not obvious what the percentages
mean.
c. I figured it out some years ago. Then I
shook my head in bewilderment and tried to
forget it. It looks like I succeeded.
Hope this helps.
Good Luck.
Greg
1 Kommentar
Swathi Ganesh
am 27 Sep. 2016
Kategorien
Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!