CENormal Sampler
Constructors
Properties
This threshold represents the bound used to consider whether the coefficient of variation for the population parameters has converged.
A list of statistics for the population within the last sample of elites.
This can be used to increase/decrease the variability associated with the initial parameter setting. For example, a value of 1.1 increases the starting standard deviation by 10%. The setting must be a positive value. The default value is specified by defaultInitialVariabilityFactor.
A copy of the current mean parameters.
Used to smooth the estimated values of the mean parameters via exponential smoothing.
The problem definition associated with the sampling process.
rnStream provides a reference to the underlying stream of random numbers.
Used to smooth the estimated values of the standard deviation parameters via exponential smoothing.
A copy of the current standard deviation parameters.
Computes the standard deviation thresholds used to check if the distribution has converged. These values are abs(mean)*cvThreshold
The assigned stream number for the generation process
The stream provider associated with the sampling process.
Functions
The sampler is considered to be converged if the component standard deviations are less than their standard deviation thresholds based on the coefficient of variation threshold.
This function sets the initial mean and standard deviation parameters for the sampler. The mean values are specified by the supplied array. The initial standard deviation values are set based on the range of the input values associated with the problem. If the range of possible values is higher, then the initial standard deviation is higher. The range is used to approximate the standard deviation. The initialVariabilityFactor can be used to inflate or deflate this setting as needed.
Returns a sample from the current cross-entropy distribution.
The underlying parameters of the sampling mechanism should be updated. Implementors need to handle the edge case of less than 2 elites.