173347470238ac3ccf110f6cb8e90489c52e3ece,Orange/widgets/classify/owlogisticregression.py,OWLogisticRegression,add_main_layout,#OWLogisticRegression#,40

Before Change



    def add_main_layout(self):
        box = gui.widgetBox(self.controlArea, box=True)
        gui.comboBox(box, self, "penalty_type", label="Regularization type: ",
                     items=self.penalty_types, orientation=Qt.Horizontal,
                     addSpace=4, callback=self.settings_changed)
        gui.widgetLabel(box, "Strength:")
        box2 = gui.hBox(gui.indentedBox(box))
        gui.widgetLabel(box2, "Weak").setStyleSheet("margin-top:6px")
        gui.hSlider(box2, self, "C_index",

After Change



    def add_main_layout(self):
        box = gui.widgetBox(self.controlArea, box=True)
        self.penalty_combo = gui.comboBox(
            box, self, "penalty_type", label="Regularization type: ",
            items=self.penalty_types, orientation=Qt.Horizontal,
            addSpace=4, callback=self.settings_changed)
        gui.widgetLabel(box, "Strength:")
        box2 = gui.hBox(gui.indentedBox(box))
        gui.widgetLabel(box2, "Weak").setStyleSheet("margin-top:6px")
        self.c_slider = gui.hSlider(
            box2, self, "C_index", minValue=0, maxValue=len(self.C_s) - 1,
            callback=lambda: (self.set_c(), self.settings_changed()),
            createLabel=False)
        gui.widgetLabel(box2, "Strong").setStyleSheet("margin-top:6px")
        box2 = gui.hBox(box)
        box2.layout().setAlignment(Qt.AlignCenter)
        self.c_label = gui.widgetLabel(box2)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: biolab/orange3
Commit Name: 173347470238ac3ccf110f6cb8e90489c52e3ece
Time: 2016-07-19
Author: tankovesna@hotmail.com
File Name: Orange/widgets/classify/owlogisticregression.py
Class Name: OWLogisticRegression
Method Name: add_main_layout


Project Name: biolab/orange3
Commit Name: 8074ce26d6bd5636c66f817b9ee7cb88a764ae90
Time: 2016-07-19
Author: tankovesna@hotmail.com
File Name: Orange/widgets/classify/owknn.py
Class Name: OWKNNLearner
Method Name: add_main_layout


Project Name: biolab/orange3
Commit Name: e74cfe8cf23dbf98dd29f71cc8707d93e74c509b
Time: 2016-07-28
Author: tankovesna@hotmail.com
File Name: Orange/widgets/classify/owclassificationtree.py
Class Name: OWClassificationTree
Method Name: add_main_layout