That worked thank you!

On Sat, Jan 11, 2014 at 1:56 PM, Yaroslav Halchenko
<[email protected]>wrote:

>
> On Sat, 11 Jan 2014, Jessica Goold wrote:
>
> >    Hi All,
> >    I was wondering if it was possible to enable ca.stats when just using�
> >    clf = LinearCSVMC()
> >    clf.train(ds1)
> >    predictions = clf.predict(ds2.samples)
>
> quick reply for now -- try if works ;)
>
> cm = ConfusionMatrix(targets=ds2.targets, predictions=predictions)
>
> will provide you the 'stats' ;)
>
> --
> Yaroslav O. Halchenko, Ph.D.
> http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
> Senior Research Associate,     Psychological and Brain Sciences Dept.
> Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
> Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
> WWW:   http://www.linkedin.com/in/yarik
>
> _______________________________________________
> Pkg-ExpPsy-PyMVPA mailing list
> [email protected]
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa
_______________________________________________
Pkg-ExpPsy-PyMVPA mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa

Reply via email to