[pymvpa] Quick Searchlight Question

Michael Hanke mih at debian.org
Wed Mar 26 06:30:36 UTC 2014


Hi,

[this time an amazing low-latency response!]

On Tue, Mar 25, 2014 at 08:41:58PM +0000, Hanson, Gavin Keith wrote:
> Ok, can you give me any indication of how I could do that?
> How can I get a feature attribute in a dataset generated by a searchlight to be available to a post_proc node in a CrossValidation used as my data measure when I set up that sphere_searchlight?
> I have no clue how to accomplish this.

There is more than one way to do it (TM).

However, the cleanest/simplest depends on your scenario -- but I know
too little about that. My first attempt would be to use the 'pass_attr'
argument of the CrossValidation Node to try to get the center attribute
into the result dataset.

http://www.pymvpa.org/generated/mvpa2.base.learner.Node.html?highlight=pass_attr#mvpa2.base.learner.Node.pass_attr

I am not 100% confident that it is clever enough to work with any
scenario, though. But still the best first attempt.

if that doesn't come out well, please drop a little sketch of your CV
setup and we'll work it out. In the worst case by wrapping the CV Node
into another Node that handles the attribute passage.

Let us know!

Michael

-- 
J.-Prof. Dr. Michael Hanke
Psychoinformatik Labor,    Institut für  Psychologie II
Otto-von-Guericke-Universität Magdeburg,  Universitätsplatz 2, Geb.24
Tel.: +49(0)391-67-18481 Fax: +49(0)391-67-11947  GPG: 4096R/7FFB9E9B



More information about the Pkg-ExpPsy-PyMVPA mailing list