sciope.sampling package¶
Submodules¶
sciope.sampling.maximin_sampling module¶
Maximin space-filling sampling algorithm Ranks monte-carlo samples such that minimum distance between them is maximized
- class sciope.sampling.maximin_sampling.MaximinSampling(xmin, xmax, use_logger=False)[source]¶
Bases:
sciope.sampling.sampling_base.SamplingBase
Algorithm: 1. Generate MC candidate samples 2. Compute pairwise distance between existing samples and candidates 3. Select new samples that maximize the minimum distance
Key reference: Johnson, Mark E., Leslie M. Moore, and Donald Ylvisaker. “Minimax and maximin distance designs.” Journal of statistical planning and inference 26.2 (1990): 131-148.
sciope.sampling.sampling_base module¶
Sequential Sampling Base Class
- class sciope.sampling.sampling_base.SamplingBase(name, xmin, xmax, use_logger=False)[source]¶
Bases:
object
Base class for sequential sampling. Must not be used directly! Each sampling algorithm must implement the methods described herein:
SamplingBase.select_point()
SamplingBase.select_points(n)
The following variables are available to derived classes: *