twinlab.DesignParams#

class twinlab.DesignParams(sampling_method=<twinlab.sampling.LatinHypercube object>, seed=None)[source]#

Parameter configuration to setup an initial experimental or simulations design structure.

Variables:
  • sampling_method (Sampling, optional) –

    The sampling method to use for the initial design. Options are either:

    • tl.sampling.LatinHypercube: Populate the initial design space in a clever way such that each dimension, and projection of dimensions, are sampled evenly.

    • tl.sampling.UniformRandom: Randomly populate the input space, which is usually a bad idea.

  • seed (Union[int, None], optional) – The seed used to initialise the random number generators for reproducibility. Setting this to an integer is good for creating reproducibile design configurations. The default is None, which means the seed is randomly generated each time.

__init__(sampling_method=<twinlab.sampling.LatinHypercube object>, seed=None)[source]#

Methods

__init__([sampling_method, seed])