Ah, works perfectly. So it should be:<br><br>datasets = list(partitioner.generate(dataset))<br>then<br>print datasets[n].summary(chunks_attr='partitions')<br><br>I took a look and indeed I end up with individual test runs with empty conditions, the same way Tren pointed out in the previous message. But Balancer does work as advertised for the training set, because I don't have empty conditions when multiple runs are summed together...<br>
<br>Thanks!<br>-Edmund<br><br><div class="gmail_quote">On Thu, Jul 26, 2012 at 2:40 PM, Michael Hanke <span dir="ltr"><<a href="mailto:mih@debian.org" target="_blank">mih@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, Jul 26, 2012 at 02:16:50PM -0400, Edmund Chong wrote:<br>
> foo1 = partitioner.generate(dataset)<br>
<br>
You could to<br>
<br>
  datasets = list(partitioner.generate(dataset))<br>
<br>
to get them all at once.<br>
<div class="im">><br>
> print foo2.summary()<br>
><br>
> ...I tried that, but it gives me a summary table of the number of samples<br>
> per condition per chunk. How do I view the samples per condition per<br>
> partition (classification fold)?<br>
<br>
</div>That a look at the datasets. They have a sample attribute 'partition'<br>
(or something like that). Now look at the help for Dataset.summary()<br>
(just do ``ds.summary?`` in IPython). That will list a 'chunks_attr'<br>
arguments that you can set to be the partitions argument. Which in turn<br>
will cause the summary to be per-partition.<br>
<br>
Hope that helps,<br>
<br>
Michael<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Michael Hanke<br>
<a href="http://mih.voxindeserto.de" target="_blank">http://mih.voxindeserto.de</a><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/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa</a><br>
</font></span></blockquote></div><br>