ray.tune.search.Searcher.suggest#

Searcher.suggest(trial_id: str) Dict | None[source]#

Queries the algorithm to retrieve the next set of parameters.

Parameters:

trial_id – Trial ID used for subsequent notifications.

Returns:

Configuration for a trial, if possible.

If FINISHED is returned, Tune will be notified that no more suggestions/configurations will be provided. If None is returned, Tune will skip the querying of the searcher for this step.

Return type:

dict | FINISHED | None