[tune] Repeated evals (#7366)

* easyrepeat

* done

* suggest

* doc

* ok

* commit

* Apply suggestions from code review

Co-Authored-By: Ujval Misra <misraujval@gmail.com>

* Apply suggestions from code review

Co-Authored-By: Ujval Misra <misraujval@gmail.com>

* Apply suggestions from code review

* ok

* docs

Co-authored-by: Ujval Misra <misraujval@gmail.com>
This commit is contained in:
Richard Liaw
2020-03-07 11:08:23 -08:00
committed by GitHub
co-authored by Ujval Misra
parent a8bda9b551
commit 115468de2c
14 changed files with 289 additions and 44 deletions
+3 -2
View File
@@ -122,9 +122,10 @@ class SkOptSearch(SuggestionAlgorithm):
self._metric_op = 1.
self._skopt_opt = optimizer
self._live_trial_mapping = {}
super(SkOptSearch, self).__init__(**kwargs)
super(SkOptSearch, self).__init__(
metric=self._metric, mode=mode, **kwargs)
def _suggest(self, trial_id):
def suggest(self, trial_id):
if self._num_live_trials() >= self._max_concurrent:
return None
if self._initial_points: