deephyper.analysis.hpo.plot_search_trajectory_single_objective_hpo

deephyper.analysis.hpo.plot_search_trajectory_single_objective_hpo#

deephyper.analysis.hpo.plot_search_trajectory_single_objective_hpo(results, show_failures: bool = True, column='objective', ax=None, **kwargs)[source]#

Plot the search trajectory of a Single-Objective Hyperparameter Optimization.

Parameters:
  • results (pd.DataFrame) – the results of Hyperparameter Optimization.

  • show_failures (bool, optional) – whether to show the failed objectives. Defaults to True.

  • column (str, optional) – the column to use for the y-axis of the plot. Defaults to "objective".

  • ax (matplotlib.pyplot.axes) – the axes to use for the plot.

Returns:

the figure and axes of the plot.

Return type:

(matplotlib.pyplot.figure, matplotlib.pyplot.axes)