Parameters and Options for CMA-ES.
Class |
|
a dictionary with the available options and their default values for class CMAEvolutionStrategy . |
Class |
|
strategy parameters like population size and learning rates. |
Class |
|
collection of many meta parameters. |
Function | amend |
return a dict with 'maxrestarts' and 'maxfevals' as keys. |
Function | cma |
use this function to get keyword completion for CMAOptions . |
Function | integer |
target probability for an integer mutation assuming a centered mean |
Function | integer |
can be reassigned/overwritten like a global "parameter setting" |
Function | is |
default to check feasibility of f-values. |
Function | safe |
return a string safe to eval or raise an exception. |
Variable | cma |
Undocumented |
Variable | cma |
Undocumented |
Variable | cma |
Undocumented |
Variable | default |
Undocumented |
Variable | integer |
None or True or a function float->bool, None -> limit only negative updates |
Variable | integer |
factor used in integer_std_lower_bound as multiplier to mueff/N |
Variable | integer |
factor used in integer_std_lower_bound as multiplier to integer_std_lower_bound_limit_when_mu_is_large |
Variable | integer |
limit coordinate stds of solutions in C update, by default off, may go away |
Variable | options |
Undocumented |
return a dict
with 'maxrestarts' and 'maxfevals' as keys.
restarts
is a parameter to cma.fmin*, see cma.fmin
.
use this function to get keyword completion for CMAOptions
.
cma.CMAOptions('substr') provides even substring search.
returns default options as a dict
(not a cma.CMAOptions
dict
).
target probability for an integer mutation assuming a centered mean
and no boundaries (two-tailed).
2 / (N + N_int) should keep at least 37% of the solutions unaffected.
Details: from ptarget we can compute sigma = 1 / PPF(ptarget/2) / 2 where PPF is the quantile function of the standard normal distribution and the first 2 accounts for two-sided sampling of the tails and the second 2 is needed because the distance to the value domain bound is 1/2.
can be reassigned/overwritten like a global "parameter setting"
This function returns the minimum of three bounds, an absolute bound (default 0.2), mueff / N, and a bound computed from the normal quantile (when the mean is assumed to be in the domain middle) which takes ptarget=integer_lower_bound_target_probability(N, N_int) (which should be roughly 1/N) as input. This bound becomes < 0.2 only when ptarget < 1/152 (==> < -2.5-sigma).
default to check feasibility of f-values.
Used for rejection sampling in method ask_and_eval
.
See Also | |
CMAOptions, CMAOptions('feas'). |
return a string safe to eval
or raise an exception.
Selected words and chars are considered safe such that all default
string-type option values from CMAOptions()
pass. This function is
implemented for convenience, to keep the default option format
backwards compatible, and to be able to pass, for example, 3 * N
.
Function or class names other than those from the default values cannot
be passed as strings (any more) but only as the function or class
themselves.
None or True or a function float->bool, None -> limit only negative updates
factor used in integer_std_lower_bound
as multiplier to
integer_std_lower_bound_limit_when_mu_is_large