mirror of
https://github.com/wassname/ray.git
synced 2026-08-20 12:40:44 +08:00
[tune] Refactor search algorithms (#7037)
* start refactoring of search algorithms * format * needs tests * fix * suggestions * Fix PBT * lint * refactoring * hyperopt_working * dragonfly * hyperopt * change_half_of_algs * save * code-removed * remove_lots_of_unneccessary * changes * formatting * suggest * reset * rm * tests * search-change * exception * refactor-doc * search * py * moredocs * Update doc/source/tune-searchalg.rst * concurrency * max * tune * betterwarning * bohb * tests * test-change Co-authored-by: ujvl <misraujval@gmail.com>
This commit is contained in:
@@ -130,11 +130,7 @@ class AutoMLSearcher(SearchAlgorithm):
|
||||
> self.best_trial.best_result[self.reward_attr]):
|
||||
self.best_trial = self._running_trials[trial_id]
|
||||
|
||||
def on_trial_complete(self,
|
||||
trial_id,
|
||||
result=None,
|
||||
error=False,
|
||||
early_terminated=False):
|
||||
def on_trial_complete(self, trial_id, result=None, error=False):
|
||||
self.on_trial_result(trial_id, result)
|
||||
self._unfinished_count -= 1
|
||||
if self._unfinished_count == 0:
|
||||
|
||||
Reference in New Issue
Block a user