deephyper.analysis.hpo.parameters_at_max#
- deephyper.analysis.hpo.parameters_at_max(df: DataFrame, column: str = 'objective', prefix: str = 'p:', n_last: int | float = 1.0) Tuple[dict, float][source]#
Return the parameters at the maximum of the given
columnfunction.- Parameters:
df (pd.DataFrame) – the results of a Hyperparameter Search.
column (str) – the column to use for the maximization. Defaults to
"objective".prefix (str) – the prefix of columns of parameters.
n_last (int | float) – Select the max among the
n_lastrows. If it is afloatit is among theint(n_last * len(df))last rows.
- Returns:
- the parameters at the maximum of the
columnand its corresponding value.
- the parameters at the maximum of the
- Return type: