easyiec.strategies.NoveltyIEC#

class easyiec.strategies.NoveltyIEC(pop_size=9, protocol=None, n_select=None, pool_factor=4, novelty_weight=0.5, k=5, sigma=0.12, **kw)[source]#

Bases: Strategy

Interactive evolution with a novelty filter.

From the chosen candidates a pool of pool_factor × pop_size offspring is generated; the shown gallery is the greedy max–min selection of the pool by novelty (mean distance to the k nearest neighbours among everything shown so far) mixed with closeness to the parents (weight 1 - novelty_weight). This keeps the gallery varied, a known remedy for premature convergence of IEC under small populations.

Examples using easyiec.strategies.NoveltyIEC#

The Blind Watchmaker and novelty-filtered galleries

The Blind Watchmaker and novelty-filtered galleries