aixd.sampler.sampler_definitions.sampler_quantile

aixd.sampler.sampler_definitions.sampler_quantile(dobjects: List[DataObject], engine: SamplingEngine, callbacks_class: SamplingCallback | None = None) SamplesGenerator[source]

A sampler that can be fit to some data, and then sample using a quantile strategy. The sampling is univariate, so each column is sampled independently.

Parameters:
  • dobjects (List[DataObject]) – List of DataObjects to sample from

  • engine (SamplingEngine) – To use for sampling

  • callbacks_class (SamplingCallback, optional, default=None) – In case we want to run some function on the samples obtained in the sampling process. This is intended for advanced usage.

Returns:

SamplesGenerator – The sampler object