[pymvpa] Understanding Classification + HRF

Anaelia Ovalle anaeliaovalle at gmail.com
Tue Mar 21 23:12:28 UTC 2017

Hi all,

I am a relatively new pyMVPA user and have 2 questions.


I'm working with 10 chunks of data (190 rows each) with 6 classes +
baseline and am looking to classify them using a linear classifier however
my results are <50%. I think there's something wrong with how I may be
setting this up. Being that this is a rapid-event design, I'm looking to
classify groups of voxel activity to their respective classes. In the
tutorial, I use a zscored and polydetrended dataset and apply:

clf = LinearCSVMC()
cvte = CrossValidation(clf, NFoldPartitioner(),
            errorfx= lambda p,t: np.mean(p==t),enable_ca=['stats'])
cv_results = cvte(df)

*However, *since this is an event based task (where the subject's answer is
placed into a certain class), shouldn't I instead be looking to do an
event-related analysis, shown in : http://www.pymvpa.org/
tutorial_eventrelated.html ? Here, would I first do some response modeling
via fitting a hemodynamic response model? If so, how does this fit into my
pattern classification?

Any clarification regarding these steps would be appreciated.


My final goal after classifying neuronal activity is to then have a map for
each class. Is this the same as doing a sensitivity mapping with the pyMVPA
functions for this?

Thank you,

Anaelia Ovalle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20170321/ea8d3edb/attachment.html>

More information about the Pkg-ExpPsy-PyMVPA mailing list