mirror of
https://github.com/wassname/ray.git
synced 2026-07-10 12:22:59 +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:
@@ -73,8 +73,7 @@ if __name__ == "__main__":
|
||||
func_caller = EuclideanFunctionCaller(
|
||||
None, domain_config.domain.list_of_domains[0])
|
||||
optimizer = EuclideanGPBandit(func_caller, ask_tell_mode=True)
|
||||
algo = DragonflySearch(
|
||||
optimizer, max_concurrent=4, metric="objective", mode="max")
|
||||
algo = DragonflySearch(optimizer, metric="objective", mode="max")
|
||||
scheduler = AsyncHyperBandScheduler(metric="objective", mode="max")
|
||||
run(objective,
|
||||
name="dragonfly_search",
|
||||
|
||||
Reference in New Issue
Block a user