source: orange/docs/reference/rst/code/simple_tree_regression.py @ 9823:7f9c3f3c6474

Revision 9823:7f9c3f3c6474, 222 bytes checked in by lanumek, 2 years ago (diff)

Changed names of data sets (table replaced with data or name of the data set).

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