optuna_dashboard.set_objective_names

optuna_dashboard.set_objective_names(study, names)

Set the names of objectives.

Example

import optuna
from optuna_dashboard import set_objective_names

study = optuna.create_study(directions=["minimize", "minimize"])
set_objective_names(study, ["val_loss", "flops"])
Parameters:
  • study (Study) –

  • names (list[str]) –

Return type:

None