767efc3dab2e9fa708623785e9da097e0d5334ea,skopt/wrappers/scikit_learn.py,SkoptSearchCV,step,#SkoptSearchCV#,252

Before Change


            I = slice(i*splits, (i+1)*splits, 1)

            score = np.mean(test_scores[I])
            score_std = np.std(test_scores[I])

            self.cv_results_["params"].append(self._skopt_to_dict(param_space, params))
            self.cv_results_["mean_test_score"].append(score)
            self.cv_results_["std_test_score"].append(score_std)

After Change


            for name, result in out_and_name:
                self.cv_results_[name].append(result[I])
                self.cv_results_["mean_" + name].append(np.mean(result[I]))
                self.cv_results_["std_" + name].append(np.std(result[I]))

            score = np.mean(test_scores[I])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: scikit-optimize/scikit-optimize
Commit Name: 767efc3dab2e9fa708623785e9da097e0d5334ea
Time: 2017-06-28
Author: iaroslav.email@gmail.com
File Name: skopt/wrappers/scikit_learn.py
Class Name: SkoptSearchCV
Method Name: step


Project Name: AllenCellModeling/pytorch_fnet
Commit Name: e58cc51b665d59bc6f32bc7ae5a90c0cea8fc390
Time: 2018-07-09
Author: chek.o@outlook.com
File Name: fnet/transforms.py
Class Name:
Method Name: normalize


Project Name: cjekel/piecewise_linear_fit_py
Commit Name: a7906b81eed925d79893d13cc6816acbb4de37c0
Time: 2020-02-06
Author: cjekel@gmail.com
File Name: examples/weighted_least_squares_ex.py
Class Name:
Method Name: