[pymvpa] NFoldSplitter question

Yaroslav Halchenko debian at onerussian.com
Wed Mar 4 15:42:13 UTC 2009


indeed ;) me is also swamped with work, so no diving into combinatorics
or recursive code comprehensions.

Hence, for now, we provided a fix which should work for cvtype>2 BUT for
a sane number of unique chunks (ie < 20). Otherwise it would fail at
number of unique chunk ids > 20 I guess... didn't check carefully yet ;)
But otherwise it works fine now. Fix is present in yoh/master and
maint/0.4 branches.

enjoy -- and thanks again for spotting and reporting evil things ;)

On Wed, 04 Mar 2009, Michael Hanke wrote:

> What can I say -- it looks like a bug.

> The function that does it is getUniqueLengthNCombinations() in
> mvpa.misc.support. It looks like it is broken for k>2. Never done that
> before and hence never noticed. Thanks for spotting.


> However, that function operates recursively and my blood-sugar level is
> too low for combinatorics and recursive function together -- need some food
> first...


> Michael
-- 
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