deephyper.analysis.hpo.compile_worker_activity#

deephyper.analysis.hpo.compile_worker_activity(results, profile_type='submit/gather')[source]#

Compute the number of active workers.

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

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

Returns:

a list of timestamps and a list of the number of active jobs at each timestamp.

Return type:

timestamps, n_jobs_active