GridamplingEngine

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

Bases: AgnosticSamplingEngine

Returns a grid of size n in each dimension.

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

sample

Performs the sampling.

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.

update

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