[pymvpa] activating ca.stats without a classifier

Jessica Goold jessi.goold at gmail.com
Sat Jan 11 19:31:43 UTC 2014


That worked thank you!


On Sat, Jan 11, 2014 at 1:56 PM, Yaroslav Halchenko
<debian at onerussian.com>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
> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20140111/293fe153/attachment.html>


More information about the Pkg-ExpPsy-PyMVPA mailing list