python/test: Limit tree depth.
This commit is contained in:
parent
65554af5c3
commit
71384f29f1
|
@ -329,6 +329,6 @@ class TestResult:
|
|||
|
||||
tree = orngTree.TreeLearner(data, sameMajorityPruning=1, mForPruning=2)
|
||||
|
||||
orngTree.printTxt(tree)
|
||||
orngTree.printTxt(tree, maxDepth=4)
|
||||
|
||||
orngTree.printDot(tree, fileName=name+'.dot', nodeShape='ellipse', leafShape='box')
|
||||
|
|
Loading…
Reference in New Issue