cma.CMADataLogger:
data logger for class CMAEvolutionStrategy. The logger is
identified by its name prefix and (over-)writes or reads according
data files. Therefore, the logger must be considered as global variable
with unpredictable side effects, if two loggers with the same name
and on the same working folder are used at the same time.
exceptions.BaseException:
Common base class for all exceptions
exceptions.Exception:
Common base class for all non-exit exceptions.
cma.BoxConstraintsLinQuadTransformation:
implements a bijective, monotonous transformation between [lb - al, ub + au]
and [lb, ub] which is the identity (and therefore linear) in [lb + al, ub - au]
(typically about 90% of the interval) and quadratic in [lb - 3*al, lb + al]
and in [ub - au, ub + 3*au]. The transformation is periodically
expanded beyond the limits (somewhat resembling the shape sin(x-pi/2))
with a period of 2 * (ub - lb + al + au).
cma.CMAAdaptSigmaTPA:
two point adaptation for step-size sigma. Relies on a specific
sampling of the first two offspring, whose objective function
value ranks are used to decide on the step-size change.
cma.ConstRandnShift:
ConstRandnShift()(x) adds a fixed realization of
stddev * randn(len(x)) to the vector x.
_abcoll.Container
_abcoll.Mapping:
A Mapping is a generic container for associating key/value pairs.
_abcoll.MutableMapping:
A MutableMapping is a generic container for associating key/value
pairs.
cma.DerivedDictBase:
for conveniently adding "features" to a dictionary. The actual
dictionary is in self.data. Copy-paste
and modify setitem, getitem, and delitem, if necessary.
cma.FFWrapper.ShiftedFitness:
f = cma.ShiftedFitness(cma.fcts.sphere) constructs a
shifted sphere function, by default the shift is computed
from class ConstRandnShift with std dev 3.
_abcoll.Mapping:
A Mapping is a generic container for associating key/value pairs.
_abcoll.MutableMapping:
A MutableMapping is a generic container for associating key/value
pairs.
cma.DerivedDictBase:
for conveniently adding "features" to a dictionary. The actual
dictionary is in self.data. Copy-paste
and modify setitem, getitem, and delitem, if necessary.
cma.Misc.MathHelperFunctions:
static convenience math helper functions, if the function name
is preceded with an "a", a numpy array is returned
cma.MetaParameters:
meta parameters are either "modifiable constants" or refer to
options from CMAOptions or are arguments to fmin or to the
NoiseHandler class constructor.
cma.Rotation:
Rotation class that implements an orthogonal linear transformation,
one for each dimension.
cma.Sections:
plot sections through an objective function.
_abcoll.Sized
_abcoll.Mapping:
A Mapping is a generic container for associating key/value pairs.
_abcoll.MutableMapping:
A MutableMapping is a generic container for associating key/value
pairs.
cma.DerivedDictBase:
for conveniently adding "features" to a dictionary. The actual
dictionary is in self.data. Copy-paste
and modify setitem, getitem, and delitem, if necessary.
dict:
dict() -> new empty dictionary
dict(mapping) -> new dictionary initialized from a mapping object's
(key, value) pairs
dict(iterable) -> new dictionary initialized as if via:
d = {}
for k, v in iterable:
d[k] = v
dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list.
cma.CMAOptions:
CMAOptions() returns a dictionary with the available options
and their default values for class CMAEvolutionStrategy.