From 71384f29f12ab599b4430802ec8e21056a4dd60f Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Tue, 31 Mar 2009 17:23:48 +0100 Subject: python/test: Limit tree depth. --- src/gallium/state_trackers/python/tests/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium') diff --git a/src/gallium/state_trackers/python/tests/base.py b/src/gallium/state_trackers/python/tests/base.py index 585fbba1272..6b2e702955f 100644 --- a/src/gallium/state_trackers/python/tests/base.py +++ b/src/gallium/state_trackers/python/tests/base.py @@ -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') -- cgit v1.2.3