AdaptiveSamplingEngine

class aixd.sampler.engines.AdaptiveSamplingEngine(features: List[str], seed: int = 1730710435)[source]

Bases: SamplingEngine

Represents sampling procedures that adapt to objectives and constraints.

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

update

Updates the state of the sampling methods by providing the performance of the generated samples in the form of objectives and valid.

Inherited Methods

deserialise

Allows to initialise a SamplingEngine by passing the identifier string along with with any specific arguments.

reset_states

Resets the engine to its initial state, where all calls to sample and update are forgotten.

sample

Performs the sampling.