Ignore:
Timestamp:
03/09/12 18:24:21 (2 years ago)
Author:
Lan Zagar <lan.zagar@…>
Branch:
default
Message:

Changed lambda from int to float in Linear Regression widget.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/Regression/OWLinearRegression.py

    r10449 r10483  
    6767        self.lm_box.setEnabled(not self.use_lasso) 
    6868         
    69         OWGUI.checkWithSpin(box, self, "Ridge lambda", 1, 10, 
    70                             "use_ridge", "ridge_lambda", step=1,  
    71                             tooltip="Ridge lambda for ridge regression") 
    72          
     69        OWGUI.doubleSpin(box, self, "ridge_lambda", 0.1, 100, step=0.1, 
     70                         label="Ridge lambda", checked="use_ridge", 
     71                         tooltip="Ridge lambda for ridge regression") 
     72 
    7373        rb = OWGUI.appendRadioButton(bbox, self, "use_lasso", 
    7474                                     label="LASSO Regression", 
Note: See TracChangeset for help on using the changeset viewer.