[pymvpa] Recovering original image dimensions after remove_invariant_features

Yaroslav Halchenko debian at onerussian.com
Thu Oct 23 14:27:43 UTC 2014


On Tue, 21 Oct 2014, Shane Hoversten wrote:

>    Hi Nick -
>    Thanks for the reply.
>    An update: for the time being I just went back to not using
>    remove_invariant_features and ignoring those warning messages.A  However,
>    processing one of my subject's data (so far only just one hangs, out of 7
>    that finish) hangs PyMVPA s.t. it never resolves.A  My understanding is
>    that these warnings I'm getting:
>    WARNING: Obtained degenerate data with zero norm for training of
>    <LinearCSVMC>.A  Scaling of C cannot be done.

sounds more like a degenerate sample somewhere... how does

np.sum(ds.samples * ds.samples, axis=1) look like? any 0s or NaNs ?

you could also share may be your 

ds.summary()

so we get some feel of the dataset...

-- 
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Research Scientist,            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