evFinalRound.crossValidateModel(zBNcopy, learnFinalRound,Math.min(CVfoldNum,learn.numInstances()),new Random(winningNaiveRemove));
accFinalRound[winningPostRandRemove] = evFinalRound.pctCorrect();
rocFinalRound[winningPostRandRemove] = evFinalRound.weightedAreaUnderROC();
if (evFinalRound.weightedAreaUnderROC() > rocFinal){
learnFinal = learnFinalRound;
holdFinal = holdFinalRound;
rocFinal = evFinalRound.weightedAreaUnderROC();
accFinal = evFinalRound.pctCorrect();
wrep.BGS_postAttributeACC = accFinal;