e91a752ee0c7a903af2fa85aa558222eed15d549,Orange/widgets/regression/tests/test_owrandomforestregression.py,TestOWRandomForestRegression,test_parameters_checked,#TestOWRandomForestRegression#,33
Before Change
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.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):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 9
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_unchecked
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/regression/tests/test_owrandomforestregression.py
Class Name: TestOWRandomForestRegression
Method Name: test_parameters_unchecked
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