[pymvpa] Classification Questions

Chris Johnson effigies at gmail.com
Sat Jan 4 19:23:30 UTC 2014


This line is setting fds.sa['runtype'] to a list with a single boolean
(probably [False]).

> fds.sa['runtype'] = [rnames in fds.sa.chunks]

I would guess what you want is:

> fds.sa['runtype'] = [rnames[chunk] for chunk in fds.sa.chunks]

Hopefully that's all the problem is. Otherwise the code looks like it
should run.

Chris


On Sat, Jan 4, 2014 at 2:13 PM, Jessica Goold <jessi.goold at gmail.com> wrote:
> Hello,
>
> I'm trying to run my first classification analysis on my own data, and every
> classification type seems to work except LinearCSVMC(). I'm attaching my
> python file of code and I've pasted the error I get at the bottom of it. Any
> help on why this is happening would be great!
>
> Thank you,
> Jessica
>
> _______________________________________________
> 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



More information about the Pkg-ExpPsy-PyMVPA mailing list