Ignore:
Timestamp:
09/09/13 17:22:02 (8 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
  • Orange/OrangeWidgets/Data/OWRank.py

    r11685 r11692  
    1818import Orange 
    1919from Orange.feature import scoring 
    20 from Orange.regression import earth 
    2120from Orange.classification import svm 
    2221from Orange.ensemble import forest 
     
    4645 
    4746MEASURE_PARAMS = { 
    48     earth.ScoreEarthImportance: [ 
    49         {"name": "t", 
    50          "type": int, 
    51          "display_name": "Num. models.", 
    52          "range": (1, 20), 
    53          "default": 10, 
    54          "doc": "Number of models to train for feature scoring."}, 
    55         {"name": "terms", 
    56          "type": int, 
    57          "display_name": "Max. num of terms", 
    58          "range": (3, 200), 
    59          "default": 10, 
    60          "doc": "Maximum number of terms in the forward pass"}, 
    61         {"name": "degree", 
    62          "type": int, 
    63          "display_name": "Max. term degree", 
    64          "range": (1, 3), 
    65          "default": 2, 
    66          "doc": "Maximum degree of terms included in the model."} 
    67     ], 
    6847    scoring.Relief: [ 
    6948        {"name": "k", 
     
    158137        "Random Forests", "RF", forest.ScoreFeature, 
    159138        params=MEASURE_PARAMS[forest.ScoreFeature]), 
    160     score_meta( 
    161         "Earth Importance", "Earth imp.", earth.ScoreEarthImportance, 
    162         params=MEASURE_PARAMS[earth.ScoreEarthImportance], 
    163     ) 
    164139] 
    165140 
Note: See TracChangeset for help on using the changeset viewer.