Dear all,
is it possible to obtain confusion matrices for all nodes with "sphere_gnbsearchlight", as was suggested before with "sphere_searchlight":

slcvte = CrossValidation(clf, partitioner, errorfx=None, postproc=ChainNode([Confusion(labels=fds.UT)]))
class KeepConfusionMatrix(Node):
     def _call(self, fds):
         out = np.zeros(1, dtype=object)
         out[0] = (fds.samples)
         return out

slcvte.postproc.append(KeepConfusionMatrix())
slght = sphere_searchlight(slcvte, radius=slradius, space='voxel_indices', nproc=4, postproc=mean_sample())
slght_map = slght(fds)


Thank you and best wishes,
Marco

--
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: tettamanti.ma...@hsr.it
Skype: mtettamanti

_______________________________________________
Pkg-ExpPsy-PyMVPA mailing list
Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa

Reply via email to