[pymvpa] confusion matrix confusion

Jonas Kaplan jtkaplan at usc.edu
Sat Mar 28 00:31:47 UTC 2009


Hi all,

Thanks for your work on this software, it looks great, and seems to be  
forcing me to finally learn python.  :)

I am running PyMVPA on Mac OS X 10.5.   So far everything seems to  
work fine with the exception of plotting a confusion matrix.  The  
textual output of the confusion matrix looks ok (see below), however  
the plot is garbled -- it doesn't have the proper number of rows for  
one thing.   I have attached a .png of the plot.   I tried upgrading  
matplotlib (from 0.98.3 to 0.98.5) but that doesn't change anything.

This isn't a big deal since I can always plot the numbers on my own,  
but I thought I'd let you know and be sure this is not symptomatic of  
something I am doing wrong.

Thanks,

Jonas Kaplan

--------------------------
----------.
predictions\targets  1.0   2.0   3.0
             `------  ----  ----  ---- P'   N'    FP    FN   PPV  NPV   
TPR  SPC  FDR  MCC  AUC
         1.0           17    5     2   24   31    7     7   0.71 0.77  
0.71 0.77 0.29 0.39 0.83
         2.0           5     11    9   25   43    14    13  0.44  0.7  
0.46 0.68 0.56 0.13 0.67
         3.0           2     8     13  23   39    10    11  0.57 0.72  
0.54 0.74 0.43 0.25 0.84
Per target:          ----  ----  ----
          P            24    24    24
          N            48    48    48
          TP           17    11    13
          TN           24    30    28
Summary \ Means:     ----  ----  ---- 24 37.67 10.33 10.33 0.57 0.73  
0.57 0.73 0.43 0.26 0.78
         ACC          0.57
         ACC%        56.94
      # of sets        8


----
Jonas Kaplan, Ph.D.
Research Assistant Professor
Brain & Creativity Institute
University of Southern California





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20090327/b3bb0faf/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: confusion.png
Type: image/png
Size: 17386 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20090327/b3bb0faf/attachment-0001.png 


More information about the Pkg-ExpPsy-PyMVPA mailing list