Changeset 8833:61012228ac9f in orange


Ignore:
Timestamp:
08/29/11 16:54:48 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
641dfcb44f0e5acff5b2bdb6a00a7801d5952b95
Message:

Added missing entries to settingsList.

Location:
orange/OrangeWidgets/Regression
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Regression/OWEarth.py

    r8152 r8833  
    1010  
    1111class OWEarth(OWWidget): 
    12     settingsList = ["degree", "terms", "penalty"] 
     12    settingsList = ["name", "degree", "terms", "penalty"] 
    1313     
    1414    def __init__(self, parent=None, signalManager=None, 
  • orange/OrangeWidgets/Regression/OWLinearRegression.py

    r8827 r8833  
    1010 
    1111class OWLinearRegression(OWWidget): 
    12     settingsList = [] 
     12    settingsList = ["name", "use_ridge", "ridge_lambda"] 
    1313     
    1414    def __init__(self, parent=None, signalManager=None, title="Linear Regression"): 
     
    2525        self.use_ridge = False 
    2626        self.ridge_lambda = 1.0 
    27 #        self.beta0 = True 
    28          
     27        self.loadSettings() 
    2928         
    3029        ##### 
     
    3433        OWGUI.lineEdit(self.controlArea, self, "name", box="Learner/predictor name",  
    3534                       tooltip="Name of the learner/predictor") 
    36          
    37 #        OWGUI.checkBox(self.controlArea, self, "beta0", "Include intercept.", 
    38 #                       box="Settings", 
    39 #                       tooltip="Add an intercept to the linear model") 
    4035 
    4136        OWGUI.checkWithSpin(self.controlArea, self, "Ridge lambda", 1, 10, 
Note: See TracChangeset for help on using the changeset viewer.