From fb644fe9ec6be36b8f2f70a34256fbdc593d663a Mon Sep 17 00:00:00 2001 From: pollfly <75068813+pollfly@users.noreply.github.com> Date: Mon, 12 Sep 2022 14:09:49 +0300 Subject: [PATCH] Edit example (#759) Set reporting period to 0.2 minutes to match comment --- .../hyper-parameter-optimization/hyper_parameter_optimizer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/optimization/hyper-parameter-optimization/hyper_parameter_optimizer.py b/examples/optimization/hyper-parameter-optimization/hyper_parameter_optimizer.py index 0553108a..ac57872f 100644 --- a/examples/optimization/hyper-parameter-optimization/hyper_parameter_optimizer.py +++ b/examples/optimization/hyper-parameter-optimization/hyper_parameter_optimizer.py @@ -114,8 +114,8 @@ if args['run_as_service']: # if executed locally, the local process will be terminated, and a remote copy will be executed instead task.execute_remotely(queue_name='services', exit_process=True) -# report every 12 seconds, this is way too often, but we are testing here J -an_optimizer.set_report_period(2.2) +# report every 12 seconds, this is way too often, but we are testing here +an_optimizer.set_report_period(0.2) # start the optimization process, callback function to be called every time an experiment is completed # this function returns immediately an_optimizer.start(job_complete_callback=job_complete_callback)