source: orange/docs/reference/rst/code/simple_tree_regression.py @ 9372:aef193695ea9

Revision 9372:aef193695ea9, 218 bytes checked in by mitar, 2 years ago (diff)

Moved documentation to the separate directory.

Line 
1import Orange
2
3table = Orange.data.Table("housing.tab")
4learner = Orange.regression.tree.SimpleTreeLearner
5res = Orange.evaluation.testing.cross_validation([learner], table)
6print Orange.evaluation.scoring.MSE(res)[0]
Note: See TracBrowser for help on using the repository browser.