[pymvpa] Permutation within each chunk or across all chunks in the pymva permutation example?

Meng Liang meng.liang at hotmail.co.uk
Sun Mar 17 02:19:43 UTC 2013





Hi, A quick question about how the permutation is done for the following code from the permutation example in pymva tutorial: =======clf = LinearCSVMC()
partitioner = NFoldPartitioner()
permutator = AttributePermutator('targets', count=200)
distr_est = MCNullDist(permutator, tail='left', enable_ca=['dist_samples'])
cv = CrossValidation(clf, partitioner,
                     errorfx=mean_mismatch_error,
                     postproc=mean_sample(),
                     null_dist=distr_est,
                     enable_ca=['stats'])======= Is the permutation done within each chunk or across all chunks? If it is across all chunks, is the number of trials for each target still the same within each chunk after each permutation? I imagine that the labels for both target and chunk would be permutated together so that the number of trials would remain the same for all targets? Also, according to the webpage, the above codes permute both testing and training datasets, right? Many thanks in advance! Meng 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20130317/e2a695c4/attachment.html>


More information about the Pkg-ExpPsy-PyMVPA mailing list