[pymvpa] An error occurs when I use the function "zscore" ...

冯璐 fenglu at fingerpass.net.cn
Thu Feb 9 11:04:13 UTC 2012

Thanks a lot. Now the program has run without any error. But after zscoring, nothing happened. The dataset has no change. My code is

	zscore(dataset, mean=0, std=N.ones(dataset.nfeatures), perchunk=True, pervoxel=True, targetdtype="float32")

Best wishes!

     Lu FENG
fenglu at fingerpass.net.cn

-----Original Message-----
From: pkg-exppsy-pymvpa-bounces+fenglu=fingerpass.net.cn at lists.alioth.debian.org [mailto:pkg-exppsy-pymvpa-bounces+fenglu=fingerpass.net.cn at lists.alioth.debian.org] On Behalf Of Yaroslav Halchenko
Sent: 2012年2月9日 7:51
To: Development and support pf PyMVPA
Subject: Re: [pymvpa] An error occurs when I use the function "zscore" ...

our bad -- documentation lied -- apparently std needs to be an array
whenever pervoxel is True (which is the default).

I will patch it up in 0.4.x series (I don't think mvpa2 is prone to it -- will
check too), meanwhile just specify std with an array explicitly


Cheers and thanks for the report

>    Dear expert,


>           An error occurs  when I use the  function ��zscore�� �� Can  anyone
>    help me? Thank you in advance.

>            zscore(dataset,  mean=0,   std=1,  perchunk=True,   pervoxel=True,
>    targetdtype="float32")

Keep in touch                                     www.onerussian.com
Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic

Pkg-ExpPsy-PyMVPA mailing list
Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org

__________ Information from ESET NOD32 Antivirus, version of virus signature database 6865 (20120207) __________

The message was checked by ESET NOD32 Antivirus.


More information about the Pkg-ExpPsy-PyMVPA mailing list