source: orange/docs/tutorial/rst/code/regression-tree.py @ 11052:c22077a09e63

Revision 11052:c22077a09e63, 158 bytes checked in by blaz <blaz.zupan@…>, 16 months ago (diff)

new tutorial

Line 
1import Orange
2
3data = Orange.data.Table("housing.tab")
4tree = Orange.regression.tree.TreeLearner(data, m_pruning=2., min_instances=20)
5print tree.to_string()
Note: See TracBrowser for help on using the repository browser.