[pymvpa] Syntax Error

Yaroslav Halchenko debian at onerussian.com
Fri Dec 19 19:24:34 UTC 2008


is that 1 in there instead of l?

sure thing you wouldn't be able to reassign "1" to be smth else ;-)

depending on the version of PyMVPA (0.4.0 has it arelady iirc) you
can accomplish your mission with

dataset2 = dataset["labels", [1,2]]



>     I'm now trying the simple example (Tiny example of a full
>    cross-validation) and running into an error

>     as is shown in the attached file.

>     Can anyone help me with figuring this out?

-- 
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Student  Ph.D. @ CS Dept. NJIT
Office: (973) 353-1412 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102
WWW:     http://www.linkedin.com/in/yarik        



More information about the Pkg-ExpPsy-PyMVPA mailing list