source: orange/docs/tutorial/rst/code/ensemble-cmd.py @ 11052:c22077a09e63

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

new tutorial

Line 
1import Orange
2data = Orange.data.Table("housing")
3tree = Orange.classification.tree.TreeLearner()
4# btree = Orange.ensemble.boosting.BoostedLearner(tree)
5btree = Orange.ensemble.bagging.BaggedLearner(tree)
6#btree
7#btree(data)
8model = btree(data)
9print model(data[0])
Note: See TracBrowser for help on using the repository browser.