deephyper.analysis.hpo.parameters_at_topk

deephyper.analysis.hpo.parameters_at_topk#

deephyper.analysis.hpo.parameters_at_topk(df: DataFrame, column: str = 'objective', k: int = 1) List[Tuple[dict, float]][source]#

Return the parameters at the top-k of the given column.

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

  • column (str, optional) – the column to use for the maximization. Defaults to "objective".

  • k (int, optional) – the number of top-k to return. Defaults to 1.

Returns:

the parameters at the maximum of the column and its corresponding value.

Return type:

List[Tuple[dict, float]]