easyiec.strategies.InteractiveMAPElites#

class easyiec.strategies.InteractiveMAPElites(bins=6, batch=12, n_init=24, sigma=0.1, crossover_rate=0.3, max_pairs=6, gallery=9, **kw)[source]#

Bases: Strategy

Interactive MAP-Elites.

The behaviour space is the problem’s 2-D descriptor() discretized into bins × bins cells. Offspring that land in empty cells enter the archive without any evaluation (a large saving of human effort); offspring that land in occupied cells are asked as duels against the resident elite. When a generation produces no duel, the evaluator is shown a sample of elites to mark favourites, which are then preferred as parents.

Parameters:
binsint

Cells per descriptor axis.

batchint

Offspring per generation.

n_initint

Random individuals that seed the archive.

sigmafloat

Mutation step in the unit cube.

max_pairsint

Upper bound of duels per query.

coverage()[source]#

Fraction of filled cells.

Examples using easyiec.strategies.InteractiveMAPElites#

Interactive MAP-Elites: a diverse archive instead of one winner

Interactive MAP-Elites: a diverse archive instead of one winner

Generative art: CPPNs, harmonographs, superformula and cellular automata

Generative art: CPPNs, harmonographs, superformula and cellular automata