def yield_folds(listInst, cFold): for cvf in dtree.yield_boosted_folds(listInst, cFold): cvf.cMaxRounds = cRounds if fUseTraining: cvf.listInstTest = cvf.listInstTraining yield cvf
def yield_folds(listInst, cFold): for cvf in dtree.yield_boosted_folds(listInst, cFold): cvf.cMaxLevel = cMaxLevel cvf.cMaxRounds = cMaxRounds yield cvf