clarification: N there was for our old way to import numpy, e.g. import numpy as N
On Tue, 15 Mar 2011, Yaroslav Halchenko wrote: > why not just constructing a lightweight dataset right there, e.g.: > def __call__(self, ds): > cov_ds = Dataset(samples=N.hstack((ds.samples, cov)), > labels=ds.labels, chunks=ds.chunks) > # call you original measure, e.g. CrossVal... on this new cov_ds > # here, e.g. > return cv(cov_ds) > where cov is just a numpy array (not even a dataset) -- =------------------------------------------------------------------= Keep in touch www.onerussian.com Yaroslav Halchenko www.ohloh.net/accounts/yarikoptic _______________________________________________ Pkg-ExpPsy-PyMVPA mailing list Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa