python/test: Limit tree depth.

This commit is contained in:
José Fonseca 2009-03-31 17:23:48 +01:00
parent 65554af5c3
commit 71384f29f1
1 changed files with 1 additions and 1 deletions

View File

@ -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')