<div dir="ltr">HI, Yaroslav<div><br></div><div>Thanks for your response! i also have a question about the compuation of accuracy. in the tutorial the ACC was given by (TN+TP)/(N+P),  so given the confusion matrix as </div>
<div><div>[[ 6  0  3  0  0  5  0  1]</div><div> [ 0 10  0  0  0  0  0  0]</div><div> [ 0  0  7  0  0  0  0  0]</div><div> [ 0  2  0 12  0  0  0  0]</div><div> [ 0  0  0  0 12  0  0  0]</div><div> [ 2  0  1  0  0  6  0  0]</div>
<div> [ 2  0  1  0  0  0 12  1]</div><div> [ 2  0  0  0  0  1  0 10]]</div></div><div><div>P                12            12            12            12            12            12            12            12</div><div>N                84            84            84            84            84            84            84            84</div>
<div>TP               6             10            7             12            12            6             12            10</div><div>TN               69            65            68            63            63            69            63  </div>
</div><div>N=84; P=12; TP for first column (bottle) is 6, FP=2+2+2=6, FN=3+5+1=9, so what I really dont understand is how does the program give 69 for TN (shouldn't it be 96-6-9-6=75?. any idea on how it was computed? </div>
<div><br></div><div>Tony</div><div><br></div><div>so how does the TN=</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jan 18, 2014 at 12:18 AM, Yaroslav Halchenko <span dir="ltr"><<a href="mailto:debian@onerussian.com" target="_blank">debian@onerussian.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
or did I misunderstood the question: subject talks about category<br>
specific ones which could be get from diagonal of stats.matrix or from<br>
various .stats.stats (IIRC and that is not confusing!!! ;-)), and then<br>
question is "for each validation run": confusion matrices per each run<br>
could be found under cvte.ca.stats.matrices IIRC<br>
<div class="im"><br>
On Fri, 17 Jan 2014, Jiang, Zhiguo wrote:<br>
<br>
>    Hi, All<br>
>    I am totally new to PyMVPA tool. and forgive me this beginner's question.�<br>
>    I am trying to follow the tutorials<br>
</div>>    :�[1]<a href="http://dev.pymvpa.org/tutorial_classifiers.html" target="_blank">http://dev.pymvpa.org/tutorial_classifiers.html</a>. is there a simply<br>
<div class="im">>    way to pull out the accuracy for each category (bottle, cat, chair,..<br>
>    respectively in the worked example) for each validation run? I know it is<br>
>    all in cvte.ca.stats.as_string(description=true) but i am sure there is a<br>
</div>>    better and more elegant way to do so .�<br>
<span class="HOEnZb"><font color="#888888">--<br>
Yaroslav O. Halchenko, Ph.D.<br>
<a href="http://neuro.debian.net" target="_blank">http://neuro.debian.net</a> <a href="http://www.pymvpa.org" target="_blank">http://www.pymvpa.org</a> <a href="http://www.fail2ban.org" target="_blank">http://www.fail2ban.org</a><br>

Senior Research Associate,     Psychological and Brain Sciences Dept.<br>
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755<br>
Phone: <a href="tel:%2B1%20%28603%29%20646-9834" value="+16036469834">+1 (603) 646-9834</a>                       Fax: <a href="tel:%2B1%20%28603%29%20646-1419" value="+16036461419">+1 (603) 646-1419</a><br>
WWW:   <a href="http://www.linkedin.com/in/yarik" target="_blank">http://www.linkedin.com/in/yarik</a><br>
<br>
_______________________________________________<br>
Pkg-ExpPsy-PyMVPA mailing list<br>
<a href="mailto:Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org">Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa</a></font></span></blockquote></div><br></div>