diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-03-31 18:38:48 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-03-31 18:38:48 +0100 |
commit | f784906eb96ccda2062b53867a5d4bc52653396d (patch) | |
tree | 3e37ceac75f7b8fe758f91324de2419c2f422bfe /src/gallium/state_trackers/python/tests/base.py | |
parent | fee78c0c1fcfc308c84ab8da1efcc98ed8afc889 (diff) |
python/test: Dump classification tree to text file too.
Diffstat (limited to 'src/gallium/state_trackers/python/tests/base.py')
-rwxr-xr-x | src/gallium/state_trackers/python/tests/base.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/python/tests/base.py b/src/gallium/state_trackers/python/tests/base.py index 6b2e702955..1fa7fe6f3b 100755 --- a/src/gallium/state_trackers/python/tests/base.py +++ b/src/gallium/state_trackers/python/tests/base.py @@ -331,4 +331,6 @@ class TestResult: orngTree.printTxt(tree, maxDepth=4) + file(name+'.txt', 'wt').write(orngTree.dumpTree(tree)) + orngTree.printDot(tree, fileName=name+'.dot', nodeShape='ellipse', leafShape='box') |