[pymvpa] nperlabel=equal

Yaroslav Halchenko debian at onerussian.com
Fri Mar 14 16:03:25 UTC 2014


you would need to use Balancer in a chain with NFoldPartitioner, e.g.

    partitioner = ChainNode([NFoldPartitioner(cvtype=1),
                             Balancer(attr='targets',
                                      count=1, # for real data > 1
                                      limit='partitions',
                                      apply_selection=True
                                      )],
                            space='partitions')


On Fri, 14 Mar 2014, McKell Carter wrote:

> In generators.partition.py I found this hidden variable that seems to go unused:

> _NPERLABEL_STR = ['equal', 'all']

no longer there (will push shortly) -- thanks! ;-)

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



More information about the Pkg-ExpPsy-PyMVPA mailing list