ray.tune.search.optuna.OptunaSearch.add_evaluated_trials#
- OptunaSearch.add_evaluated_trials(trials_or_analysis: Trial | List[Trial] | ExperimentAnalysis, metric: str)#
Pass results from trials that have been evaluated separately.
This method allows for information from outside the suggest - on_trial_complete loop to be passed to the search algorithm. This functionality depends on the underlying search algorithm and may not be always available (same as
add_evaluated_point
.)- Parameters:
trials_or_analysis – Trials to pass results form to the searcher.
metric – Metric name reported by trials used for determining the objective value.