ConfusionMatrix

mksaadmksaad Member Posts: 42 Maven
edited November 2018 in Help
hello,

I applied classification process with Xvalidation (10 folds cross validation with stratified sampling) But I got strange confusion matrix ! (for example Class A14 has neither correctly nor incorrectly instances !)

is there any problem with my process ?


ConfusionMatrix:
True: A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14
A1 20 1 0 0 1 0 0 0 0 0 0 0 0 0
A2 0 0 0 0 0 0 0 0 0 0 0 0 0 0
A3 0 0 7 0 0 0 0 0 0 0 0 0 0 0
A4 0 0 0 0 0 0 0 0 0 0 0 0 0 0
A5 9 2 0 2 55 1 3 4 1 18 3 7 5 9
A6 0 0 0 0 0 4 0 0 0 0 0 0 0 0
A7 0 7 11 2 1 5 69 0 21 0 1 0 14 0
A8 0 0 0 0 0 0 0 27 0 0 2 0 0 0
A9 0 0 1 0 3 0 0 0 6 0 1 0 3 0
A10 0 0 0 0 0 0 0 0 0 8 0 1 0 0
A11 0 0 0 0 0 0 1 1 2 0 38 0 1 0
A12 0 0 0 0 0 0 0 0 0 1 0 23 0 0
A13 0 0 0 0 0 0 0 0 0 0 0 0 0 0
A14 0 0 0 0 0 0 0 0 0 0 0 0 0 0


Thanks,
--
Motaz K. Saad

Answers

  • haddockhaddock Member Posts: 849 Maven
    Hi,

    This matrix says that the label A14 was never predicted in validation ( as shown the last row ), even though it was the correct answer in 9 cases ( as shown in the last column ).

    The confusion matrix lives up to its name again  :-\
  • MUNISHVIRANGMUNISHVIRANG Member Posts: 9 Contributor II
    Hi

    According to the confusion matrix all that belong to A 14 class (9) ,have been misclassified in A5 category.


    Munish 
  • mksaadmksaad Member Posts: 42 Maven
    ummmm

    Oh yes, I was confused because I am familiar with weka Confusion Matrix.

    in last column, we have 9 instances of class A14, and all of them have been incorrectly classified as A5 class.


    Thanks,
    --
    Motaz K. Saad
Sign In or Register to comment.