RandomSamplingEngine
- class aixd.sampler.engines.RandomSamplingEngine(features: List[str], seed: int = 1730710435)[source]
Bases:
AgnosticSamplingEngine
Samples randomly uniform in [0, 1].
- Parameters:
features (List[str]) – Names of features in the samples that should be produced
seed (int, optional, default=RANDOM_SEED_SAMPLING) – Seed value for reproducible results.
Methods
Performs the sampling.
Inherited Methods
Allows to initialise a SamplingEngine by passing the identifier string along with with any specific arguments.
Resets the engine to its initial state, where all calls to sample and update are forgotten.
Updates the state of the sampling methods by providing the performance of the generated samples in the form of objectives and valid.