[pymvpa] SL on an artificial dataset

Matthias Ekman matthias.ekman at googlemail.com
Thu Apr 5 10:53:43 UTC 2012


> the right way(TM) to add this attribute is:
>
> 	>>>  ds.sa['chunks'] = np.arrange(50)
>
> Alternatively, you can use a helper to combine all of the above:
>
> 	>>>  ds = dataset_wizard(X, targets=y, chunks=np.arrange(50)

Thanks that works!

Best,
  Matthias



More information about the Pkg-ExpPsy-PyMVPA mailing list