433d5122e9c72868571d7c72f10cbf58dcec3f3d,optuna/integration/botorch.py,,qei_candidates_func,#Any#Any#Any#Any#,49

Before Change


        train_y = torch.cat([train_obj, train_con], dim=-1)

        is_feas = (train_con <= 0).all(dim=-1)
        best_f = (train_obj.transpose(1, 0) * is_feas).max()

        constraints = []
        n_contraints = train_con.size(1)
        for i in range(n_contraints):

After Change


            )
            best_f = torch.zeros(())
        else:
            best_f = train_obj_feas.max()

        constraints = []
        n_contraints = train_con.size(1)
        for i in range(n_contraints):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pfnet/optuna
Commit Name: 433d5122e9c72868571d7c72f10cbf58dcec3f3d
Time: 2020-12-15
Author: hiroyuki.vincent.yamazaki@gmail.com
File Name: optuna/integration/botorch.py
Class Name:
Method Name: qei_candidates_func


Project Name: bearpaw/pytorch-pose
Commit Name: 447f94818fce0e45ee008ab5ef3f5c93e3416dc3
Time: 2017-05-25
Author: platero.yang@gmail.com
File Name: pose/utils/imutils.py
Class Name:
Method Name: resize


Project Name: interactiveaudiolab/nussl
Commit Name: b82419f321b3b52841065e00d1f50945d7e8a2ee
Time: 2020-03-16
Author: prem@u.northwestern.edu
File Name: nussl/separation/primitive/hpss.py
Class Name: HPSS
Method Name: run