TrialParameter#

pydantic model optimas.core.TrialParameter(name, save_name=None, dtype=<class 'float'>)#

Defines a parameter that can be attached to a trial.

Parameters:
namestr

Name of the parameter.

save_namestr

Name under which the parameter should be saved to the history array. If not given, the parameter name will be used.

dtypedata-type

The data type of the parameter.