source: orange/orange/doc/ofb/regression1.py @ 6538:a5f65d7f0b2c

Revision 6538:a5f65d7f0b2c, 371 bytes checked in by Mitar <Mitar@…>, 4 years ago (diff)

Made XPM version of the icon 32x32.

Line 
1# Description: Builds a regression tree and prints it out
2# Category:    modelling
3# Uses:        housing
4# Classes:     orngTree.TreeLearner
5# Referenced:  regression.htm
6
7import orange, orngTree
8
9data = orange.ExampleTable("../datasets/housing.tab")
10rt = orngTree.TreeLearner(data, measure="retis", mForPruning=2, minExamples=20)
11orngTree.printTxt(rt, leafStr="%V %I")
Note: See TracBrowser for help on using the repository browser.