[pymvpa] Use searchlight algorithm only for predictions.

Michael Hanke michael.hanke at gmail.com
Thu Jan 31 14:30:47 UTC 2013


On Thu, Jan 31, 2013 at 3:02 PM, Roberto Guidotti <robbenson18 at gmail.com>wrote:

> Hi guys,
> As the subject "clearly" says, I would like to train a classifier using
> classical methods for example using all voxels and then try to predict
> using only a portion of ROI like a searchlight.
> I've tried to do this using the classifier as data measure in searchlight
> class, but obviously the features of the classifier are more than those
> used in the searchlight.
> How can I do?

This is less of a technical question, but more of a conceptual one. You
can't train an algorithm on one set of features and then run it on a
different one with a different number of features.
you need to have equally structured input in both training and testing
stage. This could be done (think e.g. PCA projection), but whether it makes
sense in you context is impossible to tell at this point.


GPG key:  1024D/3144BE0F Michael Hanke
Jabber: michael.hanke at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20130131/f1d96f45/attachment.html>

More information about the Pkg-ExpPsy-PyMVPA mailing list