a470d2d3ae0bb8b9407c8ead7149d47fc5b25257,examples/usage.py,,,#,2

Before Change


// tell that to the optimizer.
// Here we pass a dictionary with target values as keys of another
// dictionary with parameters names and their corresponding value.
bo.initialize({-2: {"x": 1, "y": 0}, -1.251: {"x": 1, "y": 1.5}})

// Once we are satisfied with the initialization conditions
// we let the algorithm do its magic by calling the maximize()
// method.

After Change


// Here we pass a dictionary with target values as keys of another
// dictionary with parameters names and their corresponding value.
bo.initialize(
    {
        "target": [-1, -1],
        "x": [1, 1],
        "y": [0, 2]
    }
)

// Once we are satisfied with the initialization conditions
// we let the algorithm do its magic by calling the maximize()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: fmfn/BayesianOptimization
Commit Name: a470d2d3ae0bb8b9407c8ead7149d47fc5b25257
Time: 2016-12-27
Author: fmfnogueira@gmail.com
File Name: examples/usage.py
Class Name:
Method Name:


Project Name: OpenNMT/OpenNMT-tf
Commit Name: 955a4eaa4c31782022f25f80781fffe62b3fa874
Time: 2019-11-15
Author: guillaumekln@users.noreply.github.com
File Name: examples/library/minimal_transformer_training.py
Class Name:
Method Name: main


Project Name: dmlc/gluon-cv
Commit Name: 2318052dc79966bf36675606b7d992a347418292
Time: 2019-01-07
Author: cheungchih@gmail.com
File Name: scripts/detection/ssd/train_ssd.py
Class Name:
Method Name: