ConfusionMatrix

mksaad
mksaad New Altair Community Member
edited November 5 in Community Q&A
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
Tagged:

Answers

  • haddock
    haddock New Altair Community Member
    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  :-\
  • MUNISHVIRANG
    MUNISHVIRANG New Altair Community Member
    Hi

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


    Munish 
  • mksaad
    mksaad New Altair Community Member
    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