<div dir="ltr"><div><div><div><div>Hi all,<br><br></div>I feel like this should be relatively simple, but I can't figure out how to do it. Is it possible to get at the labels generated by AttributePermutator? I would like to see what the individual permutations look like, to make sure it's doing what I think it is, but other than saving the whole dataset generated by CrossValidation, I can't see a way to do it.<br><br></div>I'm trying to build a null distribution like the following, so I can save each permutation, each searchlight separately (with how long the permutation testing has been taking, I want to make sure there's constant output in case something crashes and so I can monitor its progress, so I'm not using MCNullDist).<br><br>    for i in searchlights:<br>        for j in permutations:<br>            permutator = AttributePermutator('targets',limit={'partitions':1},count=1)<br>            nf = NFoldPartitioner(attr=partition_attr,cvtype=leave_x_out,count=fold_num,selection_strategy=fold_select_strategy)<br>            null_cv = CrossValidation(clf,ChainNode([nf,permutator],space=nf.get_space()),enable_ca='datasets',pass_attr=[('ca.datasets','fa')])<br>            sl_null = sphere_searchlight(null_cv,radius=3,center_ids=[i])<br></div>            null_dist.append(sl_null(ds))<br></div>            null_dist=hstack(null_dist)<br><div><div><br></div><div>So I would like to be able to check the permuted labels in order to double-check that everything is working as I'd like.<br><br></div><div>Thanks,<br></div><div>Bill<br></div></div></div>