[pymvpa] getting details for arguments

Yaroslav Halchenko debian at onerussian.com
Sat Dec 28 20:04:45 UTC 2013


Thank you Felipe for helping out

indeed was our omission to not provide available choices within the
docstring.   It should get fixed soon:
https://github.com/PyMVPA/PyMVPA/pull/158

meanwhile, for such parameters, you could simply check those params
repr, and listed there choices:

*In [10]: mvpa2.clfs.gda.LDA().params
Out[10]: ParameterCollection(items=[Parameter(laplacian_smoothing, name='prior', doc='How to compute prior distribution.', allowedtype=basestring, choices=['laplacian_smoothing', 'uniform', 'ratio']), Parameter(False, name='retrainable', doc="Either to enable retraining for 'retrainable' classifier.", allowedtype=bool), Parameter(True, name='allow_pinv', doc='Allow pseudo-inverse in case of degenerate covariance(s).', allowedtype=bool)], name='params')

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