dd066d40d87fd081598adbec2676371a595be25b,optuna/multi_objective/_hypervolume/wfg.py,WFG,_limit,#Any#Any#,57
Before Change
if (solution_set[i] <= point).all():
return point.reshape((1, dim))
limited_solution_set.append(np.maximum(solution_set[i], point))
limited_solution_set = np.asarray(limited_solution_set).reshape(
(len(limited_solution_set), dim)
)
// Return only Pareto optimal points for computational efficiency.
if n_points_of_s <= 1:
return limited_solution_set
After Change
n_points_of_s = solution_set.shape[0]
limited_solution_set = np.maximum(solution_set, point)
// Return only Pareto optimal points for computational efficiency.
if n_points_of_s <= 1:
return limited_solution_set
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: pfnet/optuna
Commit Name: dd066d40d87fd081598adbec2676371a595be25b
Time: 2020-08-16
Author: imamura@ms.k.u-tokyo.ac.jp
File Name: optuna/multi_objective/_hypervolume/wfg.py
Class Name: WFG
Method Name: _limit
Project Name: tensorflow/cleverhans
Commit Name: 05425c36bd27b0611f0ea202aaf9d3c3934bda59
Time: 2017-12-23
Author: dongyinpeng@gmail.com
File Name: cleverhans/attacks.py
Class Name: MomentumIterativeMethod
Method Name: generate
Project Name: tensorflow/models
Commit Name: f15f59953d59ccca0fd3321d860a9768a3326941
Time: 2021-03-11
Author: ronnyvotel@google.com
File Name: research/object_detection/meta_architectures/center_net_meta_arch.py
Class Name: CenterNetMetaArch
Method Name: _rescore_instances