e91a752ee0c7a903af2fa85aa558222eed15d549,Orange/widgets/regression/tests/test_owrandomforestregression.py,TestOWRandomForestRegression,test_parameters_checked,#TestOWRandomForestRegression#,33
Before Change
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.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: 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: chainer/chainercv
Commit Name: 95019f66fa70766e78a949bddd336305be4918b8
Time: 2017-05-22
Author: yuyuniitani@gmail.com
File Name: chainercv/evaluations/eval_detection_voc.py
Class Name:
Method Name: _pred_and_rec_cls
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