e9f29340a41fd0c141c3f9da08ccd575bb7abab2,tests/integration_tests/test_cma.py,TestOptimizer,test_ask,#Any#Any#,237
Before Change
told = optimizer.tell(trials, StudyDirection.MINIMIZE)
distributions = trials[0].distributions.copy()
distributions["additional"] = UniformDistribution(0, 100)
trials.append(trials[0]._replace(distributions=distributions))
params1 = optimizer.ask(trials, told)
assert params0 == params1
After Change
last_told = optimizer.tell(trials, StudyDirection.MINIMIZE)
// Other worker adds three trials.
for _ in range(3):
trials.append(_create_frozen_trial(x0, search_space, number=len(trials)))
params3 = optimizer.ask(trials, last_told)
assert params0 != params3
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: pfnet/optuna
Commit Name: e9f29340a41fd0c141c3f9da08ccd575bb7abab2
Time: 2019-07-23
Author: toshihiko.yanase@gmail.com
File Name: tests/integration_tests/test_cma.py
Class Name: TestOptimizer
Method Name: test_ask
Project Name: pfnet/optuna
Commit Name: e9f29340a41fd0c141c3f9da08ccd575bb7abab2
Time: 2019-07-23
Author: toshihiko.yanase@gmail.com
File Name: tests/integration_tests/test_cma.py
Class Name: TestOptimizer
Method Name: test_tell_filter_by_state
Project Name: pfnet/optuna
Commit Name: e9f29340a41fd0c141c3f9da08ccd575bb7abab2
Time: 2019-07-23
Author: toshihiko.yanase@gmail.com
File Name: tests/integration_tests/test_cma.py
Class Name: TestOptimizer
Method Name: test_tell_filter_by_distribution