e91a752ee0c7a903af2fa85aa558222eed15d549,Orange/widgets/regression/tests/test_owrandomforestregression.py,TestOWRandomForestRegression,test_parameters_checked,#TestOWRandomForestRegression#,33

Before Change


        self.widget.max_features_spin[0].click()
        self.widget.random_state_spin[0].click()
        self.widget.max_depth_spin[0].click()
        for j in range(1, 4):
            el = self.gui_to_params[j]
            el_min_max = [el.gui_el.minimum(), el.gui_el.maximum()]
            self.gui_to_params[j] = GuiToParam(
                el.name, el.gui_el, lambda x: x.value(),
                lambda i, x: x.setValue(i), el_min_max, el_min_max)
        self.test_parameters()

    def test_parameters_unchecked(self):
        Check learner and model for various values of all parameters

After Change


        self.widget.max_features_spin[0].setCheckState(True)
        self.widget.random_state_spin[0].setCheckState(True)
        self.widget.max_depth_spin[0].setCheckState(True)
        self.parameters.extend([
            ParameterMapping("max_features", self.widget.max_features_spin[1]),
            ParameterMapping("random_state", self.widget.random_state_spin[1]),
            ParameterMapping("max_depth", self.widget.max_depth_spin[1])])
        self.test_parameters()

    def test_parameters_unchecked(self):
        Check learner and model for various values of all parameters
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: biolab/orange3
Commit Name: e91a752ee0c7a903af2fa85aa558222eed15d549
Time: 2016-08-05
Author: tankovesna@hotmail.com
File Name: Orange/widgets/regression/tests/test_owrandomforestregression.py
Class Name: TestOWRandomForestRegression
Method Name: test_parameters_checked


Project Name: biolab/orange3
Commit Name: e91a752ee0c7a903af2fa85aa558222eed15d549
Time: 2016-08-05
Author: tankovesna@hotmail.com
File Name: Orange/widgets/classify/tests/test_owrandomforest.py
Class Name: TestOWRandomForest
Method Name: test_parameters_checked


Project Name: biolab/orange3
Commit Name: e91a752ee0c7a903af2fa85aa558222eed15d549
Time: 2016-08-05
Author: tankovesna@hotmail.com
File Name: Orange/widgets/regression/tests/test_owrandomforestregression.py
Class Name: TestOWRandomForestRegression
Method Name: test_parameters_checked


Project Name: stanfordnlp/stanza
Commit Name: de634a0c0df0ff33c20f52d5ebb42b90ad8a82bf
Time: 2020-05-21
Author: horatio@gmail.com
File Name: stanza/models/classifiers/cnn_classifier.py
Class Name:
Method Name: label_text