mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
python/test: Limit tree depth.
This commit is contained in:
parent
65554af5c3
commit
71384f29f1
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue