on_trial_start#

Callback.on_trial_start(iteration: int, trials: List[Trial], trial: Trial, **info)[source]#

Called after starting a trial instance.

Parameters:
  • iteration (int) – Number of iterations of the tuning loop.

  • trials (List[Trial]) – List of trials.

  • trial (Trial) – Trial that just has been started.

  • **info – Kwargs dict for forward compatibility.