SamplingEngine
- class aixd.sampler.engines.SamplingEngine(features: List[DataObject], seed: int = 1730710435)[source]
Bases:
object
Initialises the sampling engine. The features are just related to the data objects, and contain the information on their type, dimensionality, etc.
- Parameters:
features (List[str]) – Names of features in the samples that should be produced
seed (int, optional) – Seed value for reproducible results.
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.
Performs the sampling.
Updates the state of the sampling methods by providing the performance of the generated samples in the form of objectives and valid.