[pymvpa] array is not broadcastable to correct shape on featureSelect
Yaroslav Halchenko
debian at onerussian.com
Thu May 7 02:37:57 UTC 2009
sorry for not perfect API... although documented ;) I guess you
are hitting the issue that selectFeatures argument should be a list of
IDs, not a boolean mask:
ids
iterable container to select id
so try to use
N.where(keepInd)[0]
as the argument...
we should make it smarter I guess and allow boolean masks as well
On Wed, 06 May 2009, James Kyle wrote:
> Greetings,
>
> I'm walking my way through some tutorials to get a feel for the pymvpa
> API and flow. I'm not concerned with statistically significant results
> yet.
>
> I've modified the comp_smlr_svm.py example script to read in a set of
> NiftiImages (some zstats I had laying around).
>
--
.-.
=------------------------------ /v\ ----------------------------=
Keep in touch // \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko /( )\ ICQ#: 60653192
Linux User ^^-^^ [175555]
More information about the Pkg-ExpPsy-PyMVPA
mailing list