ray.tune.search.bayesopt.BayesOptSearch.on_trial_complete#

BayesOptSearch.on_trial_complete(trial_id: str, result: Dict | None = None, error: bool = False)[source]#

Notification for the completion of trial.

Parameters:
  • trial_id – Id of the trial. This is a short alphanumerical string.

  • result – Dictionary of result. May be none when some error occurs.

  • error – Boolean representing a previous error state. The result should be None when error is True.