summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-03-31 17:23:48 +0100
committerJosé Fonseca <[email protected]>2009-03-31 17:23:48 +0100
commit71384f29f12ab599b4430802ec8e21056a4dd60f (patch)
treea413f1ee1c1ae91fdf334d6e01b56bcd1ae64a40 /src/gallium/state_trackers
parent65554af5c3ea172891428382c13dc2318bf4b60d (diff)
python/test: Limit tree depth.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/python/tests/base.py2
1 files changed, 1 insertions, 1 deletions
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')