Ignore:
Timestamp:
09/09/13 17:22:02 (7 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Removed 'Earth' code from Orange (moved to 'orangecontrib.earth' package).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/tutorial/rst/code/regression-cv.py

    r11090 r11692  
    55lin = Orange.regression.linear.LinearRegressionLearner() 
    66lin.name = "lin" 
    7 earth = Orange.regression.earth.EarthLearner() 
    8 earth.name = "mars" 
     7rf = Orange.ensemble.forest.RandomForestLearner() 
     8rf.name = "rf" 
    99tree = Orange.regression.tree.TreeLearner(m_pruning = 2) 
    1010tree.name = "tree" 
    1111 
    12 learners = [lin, earth, tree] 
     12learners = [lin, rf, tree] 
    1313 
    1414res = Orange.evaluation.testing.cross_validation(learners, data, folds=5) 
Note: See TracChangeset for help on using the changeset viewer.