[pymvpa] Zscore creates nan in dataset
debian at onerussian.com
Sun Jan 18 17:40:28 UTC 2015
On Sun, 18 Jan 2015, gal star wrote:
> Im using zscore, and i receive the following exception:
> " Some input data for predict is not finite (Nan or Inf)".
> I've checked my pre-processed nifti files - they don't include Nan values,
> and yet after using zscore i get that the dataset includes Nan values.
> How can i fix this situation so i could move forward withA
> the processing in my script?
> I've attached the script i'm using.A
you must have some invariant (absent variance) features/voxels. Use
remove_invariant_features to strip those away first
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
More information about the Pkg-ExpPsy-PyMVPA