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-other.py

    r11052 r11692  
    88lin = Orange.regression.linear.LinearRegressionLearner(train) 
    99lin.name = "lin" 
    10 earth = Orange.regression.earth.EarthLearner(train) 
    11 earth.name = "mars" 
     10rf = Orange.ensemble.forest.RandomForestLearner(train) 
     11rf.name = "rf" 
    1212tree = Orange.regression.tree.TreeLearner(train) 
    1313tree.name = "tree" 
    1414 
    15 models = [lin, earth, tree] 
     15models = [lin, rf, tree] 
    1616 
    1717print "y    " + " ".join("%-4s" % l.name for l in models) 
Note: See TracChangeset for help on using the changeset viewer.