twinlab.RecommendParams#

class twinlab.RecommendParams(acq_kwargs=<twinlab.params.AcqFuncParams object>, opt_kwargs=<twinlab.params.OptimiserParams object>, seed=None)[source]#

Parameter configuration for recommending new points to sample using the Bayesian-optimisation routine.

Variables:
  • acq_kwargs (AcqFuncParams, optional) – An AcqFuncParams object for customising the acquisition function.

  • opt_kwargs (OptimiserParams, optional) – An OptimiserParams object for customising the optimisation routine.

  • seed (Union[int, None], optional) – Specifies the seed used by the random number generator to start the optimiser to discover the recommendations. Setting this to an integer is good for reproducibility. The default value is None, which means the seed is randomly generated each time.

__init__(acq_kwargs=<twinlab.params.AcqFuncParams object>, opt_kwargs=<twinlab.params.OptimiserParams object>, seed=None)[source]#

Methods

__init__([acq_kwargs, opt_kwargs, seed])

unpack_parameters()