<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Now I have some command lines to run MVPA, to compute the prediction <span style="FONT-SIZE: 18px"><strong>error rate</strong></span> under null distribution.</div>
<div>clf = LinerCSVMC()</div>
<div>partitioner = NFoldPartitioner()<br>repeater = Repeater(count=10000)<br>permutator = AttributePermutator('targets', limit={'partitions': 1}, count=1)<br>null_cv = CrossValidation(clf, ChainNode( [partitioner, permutator], space=partitioner.get_space, postproc=mean_sample())<br>distr_est = MCNullDist(repeater, tail='left', measure=null_cv, enable_ca=['dist_samples'])<br>cv_mc_corr = CrossValidation(clf, partitioner, postproc=mean_sample(), null_dist=distr_est, enable_ca=['stats'])</div>
<div>error = cv_mc_corr(ds)</div>
<div>My Problems: the command lines above is to compute the prediciton error rate, but I want to compute the <span style="FONT-SIZE: 18px"><strong>prediction accuracy</strong></span>. How to modify these command lines?</div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>