astromodule.hp.FloatHyperParameter.suggest#
- FloatHyperParameter.suggest(trial: FrozenTrial = None) float[source]#
Used to recover the value of the hyperparmeter as defined by the concrete class.The concrete class can implement a logic based in Auto-ML using the
optunalibrary or predefined values. The training function of the model should call this method to obtain the hyperparmeter value.- Parameters:
- trial: optuna.trial.FrozenTrial, optional
An instance of the
optunatrial, by default none