Sampler based from [1] that fills gaps in the search space.
Parameters:
maxCand (int) – The maximum number of random candidates from which each
sample points is selected. If None it receives the value 10*n instead.
Stored in maxCand. (default: 10000)
scale (float) – A scaling factor proportional to the number of candidates used
to select each sample point. Stored in scale. (default: 10)
Scaling factor that controls the number of candidates in the pool used
to select a sample point. The pool has size
scale * [# current points]. Used by get_mitchel91_sample().
Generate a sample that aims to fill gaps in the search space.
This algorithm generates a sample that fills gaps in the search space.
In each iteration, it generates a pool of candidates, and selects the
point that is farthest from current sample points to integrate the new
sample. This algorithm was proposed by Mitchel (1991).
Parameters:
bounds (sequence) – List with the limits [x_min,x_max] of each
direction x in the space.
iindex (tuple[int, ...]) – Indices of the input space that are integer. (default: ())
Generate a sample based on the Dynamically Dimensioned Search (DDS)
algorithm described in [2].
This algorithm generated a sample by perturbing a subset of the
coordinates of mu. The set of coordinates perturbed varies for each
sample point and is determined probabilistically. When a perturbation
occurs, it is guided by a normal distribution with mean zero and
standard deviation sigma.
Parameters:
bounds (sequence) – List with the limits [x_min,x_max] of each
direction x in the space.
mu – Point around which the sample will be generated.
probability (float) – Perturbation probability.
iindex (tuple[int, ...]) – Indices of the input space that are integer. (default: ())
coord – Coordinates of the input space that will vary. If (), all
coordinates will vary. (default: ())
The main goal of a sampler is to draw samples from a d-dimensional box.
For that, one should use get_sample() or the specific
get_[strategy]_sample(). The former uses the information in
strategy to decide which specific sampler to use.
Note that, for integer variables, it may not be possible to generate
a SLHD. In this case, the algorithm will do its best to try not to
repeat values in the integer variables.
Parameters:
bounds (sequence) – List with the limits [x_min,x_max] of each
direction x in the space.
iindex (tuple[int, ...]) – Indices of the input space that are integer. (default: ())