def test_tutorial_config(self): fake_experiment = mlt.FakeExperiment() fake_experiment.start() controller = mll.launch_from_file(mlu.mloop_path+'/../examples/tutorial_config.txt', **self.override_dict) self.asserts_for_cost_and_params(controller) fake_experiment.end_event.set() fake_experiment.join()
def test_file_interface_config(self): fake_experiment = mlt.FakeExperiment() fake_experiment.start() controller = mll.launch_from_file(mlu.mloop_path+'/../examples/file_interface_config.txt', num_params=1, target_cost = 0.1, **self.override_dict) self.asserts_for_cost_and_params(controller) fake_experiment.end_event.set() fake_experiment.join()