mirror of
https://github.com/wassname/ray.git
synced 2026-08-19 12:30:27 +08:00
[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:
co-authored by
Ujval Misra
parent
a8bda9b551
commit
115468de2c
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user