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
optuna
library 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
optuna
trial, by default none