deephyper.analysis.hpo.plot_worker_utilization

deephyper.analysis.hpo.plot_worker_utilization#

deephyper.analysis.hpo.plot_worker_utilization(results, num_workers: int = None, profile_type: str = 'submit/gather', ax=None, **kwargs)[source]#

Plot the worker utilization of a search.

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

  • num_workers (int, optional) – the number of workers. If passed the normalized utilization will be shown (/num_workers). Otherwise, the raw number of active workers is shown. Defaults to None.

  • profile_type (str, optional) – the type of profile to build. It can be “submit/gather” or “start/end”. Defaults to “submit/gather”.

  • 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)