from_dict#

classmethod Trial.from_dict(trial_dict, varying_parameters, objectives, analyzed_parameters, custom_parameters=None)#

Create a trial from a dictionary.

Parameters:
trial_dictdict

Dictionary containing the trial information.

varying_parameterslist of VaryingParameter

The varying parameters of the optimization.

objectiveslist of Objective

The optimization objectives.

analyzed_parameterslist of Parameter, optional

Additional parameters to be analyzed during the optimization.

custom_parameterslist of TrialParameter, optional

Additional parameters needed to identify or carry out the trial, and which will be included in the optimization history.