b3851715e8e1ea3550eee8d39ac5a57c31a1acb7,skopt/tests/test_space.py,,test_normalize,#,255
Before Change
// log-uniform prior
a = Real(10**2.0, 10**4.0, prior="log-uniform", transform="normalize")
for i in range(50):
yield (check_limits, a.rvs(random_state=i), 10**2, 10**4)
rng = np.random.RandomState(0)
X = np.clip(10**3 * rng.randn(100), 10**2.0, 10**4.0)
After Change
// log-uniform prior
a = Real(10**2.0, 10**4.0, prior="log-uniform", transform="normalize")
for i in range(50):
check_limits(a.rvs(random_state=i), 10**2, 10**4)
rng = np.random.RandomState(0)
X = np.clip(10**3 * rng.randn(100), 10**2.0, 10**4.0)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: scikit-optimize/scikit-optimize
Commit Name: b3851715e8e1ea3550eee8d39ac5a57c31a1acb7
Time: 2017-04-25
Author: thomasjpfan@gmail.com
File Name: skopt/tests/test_space.py
Class Name:
Method Name: test_normalize