Sampler based from [1] that fills gaps in the search space.
Parameters:
maxCand (Optional[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: None)
scale (float) – A scaling factor proportional to the number of candidates used
to select each sample point. Stored in scale. (default: 2.0)
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: ())
Diameter of the sampling region relative to a d-dimensional cube.
For the normal sampler, the diameter is relative to the std. This
implementation considers the region of 95% of the values on each
coordinate, which has diameter 4*sigma. This value is also backed up
by [3], in their Local MSRS method.
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: ())