a470d2d3ae0bb8b9407c8ead7149d47fc5b25257,bayes_opt/bayesian_optimization.py,BayesianOptimization,initialize,#BayesianOptimization#,151
Before Change
:return:
for target in points_dict:
self.y_init.append(target)
all_points = []
for key in self.keys:
all_points.append(points_dict[target][key])
self.x_init.append(all_points)
def initialize_df(self, points_df):
Method to introduce point for which the target function
value is known from pandas dataframe file
After Change
:return:
for points in zip(*(points_dict[k] for k in sorted(points_dict))):
self.y_init.append(points[0])
self.x_init.append(list(points[1:]))
def initialize_df(self, points_df):
Method to introduce point for which the target function
value is known from pandas dataframe file
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: fmfn/BayesianOptimization
Commit Name: a470d2d3ae0bb8b9407c8ead7149d47fc5b25257
Time: 2016-12-27
Author: fmfnogueira@gmail.com
File Name: bayes_opt/bayesian_optimization.py
Class Name: BayesianOptimization
Method Name: initialize
Project Name: pliablepixels/zmeventnotification
Commit Name: 1e619d91956c813d2328a5460da0a273fe135905
Time: 2019-11-15
Author: pliablepixels@gmail.com
File Name: hook/zmes_hook_helpers/face.py
Class Name: Face
Method Name: detect
Project Name: librosa/librosa
Commit Name: 5b7d84ebfe84bf6ed8a3ee0b3333683a30ec2e33
Time: 2015-01-27
Author: brian.mcfee@nyu.edu
File Name: librosa/filters.py
Class Name:
Method Name: constant_q