<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1"><font face="Arial">Dear all,<br>
is it possible to obtain confusion matrices for all nodes with
"sphere_gnbsearchlight", as was suggested before with
"sphere_searchlight":<br>
<br>
slcvte = CrossValidation(clf, partitioner, errorfx=None,
postproc=ChainNode([Confusion(labels=fds.UT)]))<br>
class KeepConfusionMatrix(Node):<br>
def _call(self, fds):<br>
out = np.zeros(1, dtype=object)<br>
out[0] = (fds.samples)<br>
return out<br>
<br>
slcvte.postproc.append(KeepConfusionMatrix())<br>
slght = sphere_searchlight(slcvte, radius=slradius,
space='voxel_indices', nproc=4, postproc=mean_sample())<br>
slght_map = slght(fds)<br>
<br>
<br>
Thank you and best wishes,<br>
Marco<br>
</font></font>
<pre class="moz-signature" cols="80">--
Marco Tettamanti, Ph.D.
Nuclear Medicine Department & Division of Neuroscience
San Raffaele Scientific Institute
Via Olgettina 58
I-20132 Milano, Italy
Phone ++39-02-26434888
Fax ++39-02-26434892
Email: <a class="moz-txt-link-abbreviated" href="mailto:tettamanti.marco@hsr.it">tettamanti.marco@hsr.it</a>
Skype: mtettamanti</pre>
</body>
</html>