twinlab.SampleParams#
- class twinlab.SampleParams(seed=None, fidelity=None)[source]#
Parameter configuration for sampling from a trained emulator.
- Variables:
seed (Union[int, None], optional) – Specifies the seed used by the random number generator to generate a set of samples. Setting this to an integer is useful for the reproducibility of results. The default value is
None, which means the seed is randomly generated each time.fidelity (Union[pandas.DataFrame, None], optional) – Fidelity information to be provided if the model is a multi-fidelity model (
estimator_type="multi_fidelity_gp"inEstimatorParams). This must be a single column pandas.DataFrame with the same sample order as the dataframe of X values used to draw samples. The default value isNone, which is appropriate for most trained emulators.
Methods
__init__([seed, fidelity])unpack_parameters()