SobolSamplingEngine

class aixd.sampler.engines.SobolSamplingEngine(features: List[str], scramble: bool = True, seed: int = 1730710435, **kwargs)[source]

Bases: AgnosticSamplingEngine

Samples in [0, 1] according to a Sobol sequence.

Parameters:
  • features (List[str]) – Names of features in the samples that should be produced

  • scramble (bool, optional, default=True) – If True, use LMS+shift scrambling. Otherwise, no scrambling is done

  • seed (int, optional, default=RANDOM_SEED_SAMPLING) – Seed value for reproducible results.

Methods

reset_states

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

sample

Performs the sampling.

Inherited Methods

deserialise

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

update

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