[pymvpa] Combine the fMRI data with other data in the pattern analysis?

Nynke van der Laan nynkevanderlaan at gmail.com
Tue Mar 15 09:40:36 UTC 2011


Dear Yaroslav, Micheal and Francisco,

thank you very much for the quick replies, it's great that there is
such an active discussion list!
I initially tried the method that Michael proposed. I tried the code
below but I get an error message: NameError: name 'MyMeasure' is not
defined.
The covariate_ds exists of 38 values (here just example values)
because I have one value for the covariate for each sample (each block
averaged category per trial).
One thing was not yet clear to me: how is the covariate treated when i
implement it in this way? Is it used as an additional feature?

cv = CrossValidatedTransferError(
         TransferError(LinearNuSVMC()),
         NFoldSplitter())
covariate_ds = [1,2,3,4,5,6,7,8,3,5,4,5,4,4,3,4,5,4,3,4,5,6,7,8,9,7,5,4,5,6,7,8,7,4,3,3,3,4]
m=MyMeasure(cv, covariate_ds)
sl = Searchlight(m, radius=6)

Best, Nynke



More information about the Pkg-ExpPsy-PyMVPA mailing list