[pymvpa] Selecting samples from a dataset

Yaroslav Halchenko debian at onerussian.com
Fri Apr 30 12:46:28 UTC 2010


you could also query

data.origids

before doing .select and then on resultant dataset to see if they still
match the samples you've selected ;)

On Fri, 30 Apr 2010, James M. Hughes wrote:

> No, I haven't observed different behavior, just a surprising result ;)

> I checked a few data points by hand (just by asking numpy to tell me
> if the values at all the indices matched), but this was for only one
> or two data labels and a random sample of datapoints from those
> labels; I end up with 240 in my experiment.

> Thanks!

> James.
-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]





More information about the Pkg-ExpPsy-PyMVPA mailing list