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 <[email protected]> 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
> [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