optuna.multi_objective.trial.FrozenMultiObjectiveTrial

class optuna.multi_objective.trial.FrozenMultiObjectiveTrial(n_objectives: int, trial: optuna.trial._frozen.FrozenTrial)[source]

Status and results of a MultiObjectiveTrial.

number

Unique and consecutive number of MultiObjectiveTrial for each MultiObjectiveStudy. Note that this field uses zero-based numbering.

state

TrialState of the MultiObjectiveTrial.

values

Objective values of the MultiObjectiveTrial.

datetime_start

Datetime where the MultiObjectiveTrial started.

datetime_complete

Datetime where the MultiObjectiveTrial finished.

params

Dictionary that contains suggested parameters.

distributions

Dictionary that contains the distributions of params.

user_attrs

Dictionary that contains the attributes of the MultiObjectiveTrial set with optuna.multi_objective.trial.MultiObjectiveTrial.set_user_attr().

intermediate_values

Intermediate objective values set with optuna.multi_objective.trial.MultiObjectiveTrial.report().

Note

Added in v1.4.0 as an experimental feature. The interface may change in newer versions without prior notice. See https://github.com/optuna/optuna/releases/tag/v1.4.0.

__init__(n_objectives: int, trial: optuna.trial._frozen.FrozenTrial)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(n_objectives, trial)

Initialize self.

Attributes

datetime_complete

datetime_start

distributions

last_step

number

params

state

system_attrs

user_attrs