[pymvpa] Searchlight + cross validation & significance

wolf zinke wolf.zinke at ovgu.de
Mon Oct 8 21:51:50 UTC 2012


Hi,

Thanks for your thread necromancy, this revival was at the right time.

I tested it by myself, but received an error:
ValueError: Distribution was fit for structure with 28 elements, 
whenever now queried with 1 elements

This might be caused by my way to assign the CrossValidation to the cv 
variable,  but i solved this by adding the argument 
'postproc=mean_sample()'.

cv = CrossValidation(clf, splt, errorfx=mean_mismatch_error, 
enable_ca=['stats'],
                            postproc=mean_sample(), null_dist=distr_est)

So maybe if you come across a similar error, this hint might help you.

cheers,
wolf



More information about the Pkg-ExpPsy-PyMVPA mailing list