easyiec.strategies.InteractiveCMAES#

class easyiec.strategies.InteractiveCMAES(pop_size=9, protocol=None, n_select=None, sigma0=0.25, mean0=None, **kw)[source]#

Bases: Strategy

Interactive covariance matrix adaptation evolution strategy.

CMA-ES (Hansen and Ostermeier, 2001; the update equations follow Hansen, 2016) is invariant to order-preserving transformations of the fitness: it only needs the ranking of the sampled points. This makes it a natural IEC engine: a full or partial ranking (rank, rate) gives the recombination weights; a plain selection gives equal weights to the chosen points. The sampling is done in the unit cube with reflection at the bounds.

Parameters:
pop_sizeint

λ (samples per query).

sigma0float

Initial step size in the unit cube.

mean0array, optional

Initial mean in natural units (default: centre of the box).

mean_genome()[source]#

Current mean of the search distribution in natural units.

Examples using easyiec.strategies.InteractiveCMAES#

CMA-ES, interactive PSO and pairwise differential evolution

CMA-ES, interactive PSO and pairwise differential evolution

A factorial benchmark with simulated users

A factorial benchmark with simulated users

Reports, animations and the burden of a session

Reports, animations and the burden of a session

Controlling an exothermic reactor at its unstable steady state

Controlling an exothermic reactor at its unstable steady state

Tuning an image-segmentation pipeline with a ground truth

Tuning an image-segmentation pipeline with a ground truth

Design: palettes, chart styles, faces and network drawings

Design: palettes, chart styles, faces and network drawings