002a90c0329d15f57a3915153154fa8c18ca145a,skopt/tests/test_parameter.py,,test_sample_grid_consistency,#,119

Before Change


    log_real_points_three = list(sample_points(
        [Real(0, 1, prior="log-uniform")], random_state=0, n_points=10))
    log_real_points_four = list(sample_points(
        [(0.0, 1.0, "log-uniform")], random_state=0, n_points=10))
    assert_array_equal(log_real_points_one, log_real_points_two)
    assert_array_equal(log_real_points_one, log_real_points_three)
    assert_array_equal(log_real_points_one, log_real_points_four)

After Change


        [Real(10**-3.0, 10**3.0, prior="log-uniform")],
        random_state=0, n_points=10))
    log_real_points_two = list(sample_points(
        [Real(10**-3.0, 10**3.0, prior="log-uniform")],
        random_state=0, n_points=10))
    log_real_points_three = list(sample_points(
        [Real(10**-3, 10**3, prior="log-uniform")],
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: scikit-optimize/scikit-optimize
Commit Name: 002a90c0329d15f57a3915153154fa8c18ca145a
Time: 2016-06-11
Author: g.louppe@gmail.com
File Name: skopt/tests/test_parameter.py
Class Name:
Method Name: test_sample_grid_consistency


Project Name: ray-project/ray
Commit Name: a4f2dd2138658cc9aef64ffe73877f82cb2a4856
Time: 2020-12-23
Author: antoni.baum@protonmail.com
File Name: python/ray/tune/tests/test_sample.py
Class Name: SearchSpaceTest
Method Name: testConvertSkOpt


Project Name: pfnet/optuna
Commit Name: 68c5b804a657d49389314f5d990be381b99a0b6b
Time: 2019-06-12
Author: phjgt308@gmail.com
File Name: optuna/integration/skopt.py
Class Name: _Optimizer
Method Name: __init__