[pymvpa] ChainMapper

Yaroslav Halchenko debian at onerussian.com
Tue May 3 16:29:58 UTC 2011


> Is the new StaticFeatureSelection not in the ChainMapper, or is it
> just a display issue?

mention the difference in slicearg of those two chain mappers' last
StaticFeatureSelection's: ;-)

> Out[11]: ChainMapper(nodes=[FlattenMapper(shape=(4, 3),
> auto_train=True), StaticFeatureSelection(dshape=(12,), oshape=(3,),
> slicearg=[1, 3, 4])])

> In [12]: ds = ds[:, [0,1]]

> In [13]: ds.a.mapper
> Out[13]: ChainMapper(nodes=[FlattenMapper(shape=(4, 3),
> auto_train=True), StaticFeatureSelection(dshape=(12,), oshape=(3,),
> slicearg=array([1, 3]))])

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



More information about the Pkg-ExpPsy-PyMVPA mailing list