class documentation
class CmaKernel(cma.CMAEvolutionStrategy):
Constructor: CmaKernel(x0, sigma0, inopts)
inheriting from the cma.CMAEvolutionStrategy class, by adding the property
incumbent, the attributes objective_values and _last_offspring_f_values.
| Method | __init__ |
initial solution, starting point. x0 is given as "phenotype" which means, if: |
| Instance Variable | objective |
Undocumented |
| Property | incumbent |
it gives the 'repaired' mean of a cma-es. For a problem with bound constraints, self.incumbent in inside the bounds. |
| Method | _copy |
tentative copy of self, versatile (interface and functionalities may change). |
| Instance Variable | _last |
Undocumented |
| Instance Variable | _last_offspring_neg_ |
Undocumented |
x0initial solution, starting point.
x0is given as "phenotype" which means, if:opts = {'transformation': [transform, inverse]}is given and inverse is None, the initial mean is not consistent with
x0in that transform(mean) does not equal tox0unless transform(mean) equals mean.sigma0- initial standard deviation. The problem variables should
have been scaled, such that a single standard deviation
on all variables is useful and the optimum is expected to
lie within about
x0+- 3*sigma0. See also optionsscaling_of_variables. Often one wants to check for solutions close to the initial point. This allows, for example, for an easier check of consistency of the objective function and its interfacing with the optimizer. In this case, a much smallersigma0is advisable. inopts- options, a dictionary with optional settings,
see class
cma.CMAOptions.
it gives the 'repaired' mean of a cma-es. For a problem with bound
constraints, self.incumbent in inside the bounds.