source: orange/Orange/testing/regression/tests_20/ @ 9952:986e9cd806f4

Revision 9952:986e9cd806f4, 392 bytes checked in by Miha Stajdohar <miha.stajdohar@…>, 2 years ago (diff)

Tests moved and renamed from orange 20.

1# Author:      J Zabkar
2# Version:     1.0
3# Description: Demostration of use of orngTree module: prin out
4#              a tree in text and dot format
5# Category:    modelling
6# Uses:        iris
7# Referenced:  orngTree.htm
9import orange, orngTree
10data = orange.ExampleTable("")
11tree = orange.TreeLearner(data)
13orngTree.printDot(tree, fileName="")
Note: See TracBrowser for help on using the repository browser.