[pymvpa] Selecting samples from a dataset

James M. Hughes hughes at cs.dartmouth.edu
Thu Apr 29 22:40:52 UTC 2010


This is a silly question from someone who should know the answer  
already, but the documentation is pretty unclear on this point:

if we select samples from a dataset according to labels,

e.g.,

samples = data.select(labels=[2,4,6]),

will the returned samples be grouped by label?

Also, will they be returned in groups in the order of label that they  
were given?  Or are they returned in sorted order of increasing label?

Thanks,
James.



More information about the Pkg-ExpPsy-PyMVPA mailing list