<br><br><div class="gmail_quote">2011/2/10 Yaroslav Halchenko <span dir="ltr">&lt;<a href="mailto:debian@onerussian.com">debian@onerussian.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Ha -- Thanks Patrik for chiming in, and sorry for not buzzing you<br>
immediately as soon as GNBSearchlight was fixed up in 0.6.<br>
<div class="im"><br></div></blockquote><div>No worries! You are quite active in the mailing list, must take a lot of time. <br></div><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">
&gt;    I have installed your 0.6 dev version to try it out. Though I from time to<br>
&gt;    time get a bit perplex from the new parameter names etc, I have managed to<br>
&gt;    get fairly familiar with it.<br>
<br>
</div>sorry and thanks for digging into it ;)<br>
<div class="im"><br></div></blockquote><div>It seems to be a good way of being forced to learn Python.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">
&gt;    I now wanted to, just for fun, try the GNB searchlight, but fail.<br>
</div>&gt;    &gt;...&lt;<br>
<div class="im">&gt;    What is wrong here? I guess the &#39;generator&#39; is not whats expected(?)<br>
</div>everything looks cool in your example... it runs for me without crashing<br>
(although a bit longer than I expected, had to wait nearly a few<br>
minutes) and results in<br>
<br>
&lt;Dataset: 2x39912@float64, &lt;a: mapper&gt;&gt;<br>
<br>
So, the question is -- what is your mvpa version of 0.6? up to date<br>
master?  mine was<br>
<br>
$&gt; git describe<br>
upstream/0.6.0.dev-111-gbe82724<br>
0.60<br></blockquote><div><br>In Synaptic it says 0.6.0~dev-69-g7afe4f7-1~nd60+1<br>both installed and latest. Is there another repository?<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

if it fails with an up-to-date version -- what is the failure message?<br>
<br></blockquote><div>/home/brain/Desktop/Data/tutorial_data/tutorial.py in &lt;module&gt;()<br>     16 gnbsl = sphere_gnbsearchlight(clf, gen)#, postproc=mean_sample())<br>     17 <br>---&gt; 18 res = gnbsl(ds)<br>     19 <br>
     20 <br><br>/usr/lib/pymodules/python2.6/mvpa/base/learner.pyc in __call__(self, ds)<br>    220                                    &quot;used and auto training is disabled.&quot;<br>    221                                    % str(self))<br>
--&gt; 222         return super(Learner, self).__call__(ds)<br>    223 <br>    224 <br><br>/usr/lib/pymodules/python2.6/mvpa/base/node.pyc in __call__(self, ds)<br>     67         &quot;&quot;&quot;<br>     68         self._precall(ds)<br>
---&gt; 69         result = self._call(ds)<br>     70         result = self._postcall(ds, result)<br>     71         return result<br><br>/usr/lib/pymodules/python2.6/mvpa/measures/searchlight.pyc in _call(self, dataset)<br>
    108 <br>    109         # pass to subclass<br><br>--&gt; 110         results, roi_sizes = self._sl_call(dataset, roi_ids, nproc)<br>    111 <br>    112         if not roi_sizes is None:<br><br>/usr/lib/pymodules/python2.6/mvpa/measures/gnbsearchlight.py in _sl_call(self, dataset, roi_ids, nproc)<br>
    281         #       splitcfg just returns what to split into the other in terms<br><br>    282         #       of chunks... and we need actual indicies<br><br>--&gt; 283         if splitter.permute_attr is not None:<br>
    284             raise NotImplementedError, \<br>    285                   &quot;Splitters which permute targets aren&#39;t supported here&quot;<br><br>AttributeError: &#39;NFoldPartitioner&#39; object has no attribute &#39;permute_attr&#39;<br>
WARNING: Failure executing file: &lt;tutorial.py&gt;<br><br>Thanks for helping out!<br><br><br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

--<br>
                                  .-.<br>
=------------------------------   /v\  ----------------------------=<br>
Keep in touch                    // \\     (yoh@|www.)<a href="http://onerussian.com" target="_blank">onerussian.com</a><br>
Yaroslav Halchenko              /(   )\               ICQ#: 60653192<br>
                   Linux User    ^^-^^    [175555]<br>
<br>
<br>
<br>
_______________________________________________<br>
Pkg-ExpPsy-PyMVPA mailing list<br>
<a href="mailto:Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org">Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa</a><br>
</blockquote></div><br>