示例#1
0
 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
示例#2
0
文件: dttasks.py 项目: dzhu/cs181
 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
示例#3
0
 def yield_folds(listInst, cFold):
     for cvf in dtree.yield_boosted_folds(listInst, cFold):
         cvf.cMaxLevel = cMaxLevel
         cvf.cMaxRounds = cMaxRounds
         yield cvf
示例#4
0
文件: dttasks.py 项目: dzhu/cs181
 def yield_folds(listInst, cFold):
     for cvf in dtree.yield_boosted_folds(listInst, cFold):
         cvf.cMaxLevel = cMaxLevel
         cvf.cMaxRounds = cMaxRounds
         yield cvf