The Blind Watchmaker and novelty-filtered galleries#

Dawkins’ Blind Watchmaker (1986) showed one parent surrounded by its mutants; the user picks one, which becomes the next parent. The scheme is fast and intuitive but greedy, and galleries soon look alike. NoveltyIEC breeds a larger pool and shows the candidates that are both promising and far from what the user has already seen (novelty search of Lehman and Stanley, 2011), keeping the gallery diverse.

Biomorphs bred by a simulated user#

import matplotlib.pyplot as plt

import easyiec as ei
from easyiec.problems import Biomorph
from easyiec.strategies import InteractiveGA, NoveltyIEC, Watchmaker

problem = Biomorph()
user = ei.SimulatedUser(problem, target="random", noise=0.03, seed=6)
res_w = ei.run(problem, Watchmaker(pop_size=9), user, generations=15, seed=6)
ei.viz.plot_history(res_w.log, problem, steps=[0, 4, 9, 14], size=0.9)
plot 07 watchmaker novelty
<Figure size 810x380 with 36 Axes>