Skip to main content
Ctrl+K

easyiec

  • Installation
  • Example gallery
  • AI judges, people and notebooks
  • API reference
  • The book
    • From the MATLAB toolbox
    • Citing
    • Changelog
    • All textbooks
  • GitHub
  • Installation
  • Example gallery
  • AI judges, people and notebooks
  • API reference
  • The book
  • From the MATLAB toolbox
  • Citing
  • Changelog
  • All textbooks
  • GitHub

Section Navigation

  • First steps: sessions, protocols, spaces and logs
    • A first interactive session: evolving a Julia set
    • Seven ways to answer: feedback protocols
    • Search spaces and the problem zoo
    • Everything is logged: genealogy, lineage and the map of a session
    • From the MATLAB toolbox: the popu workflow
  • Interactive algorithms
    • The EASY-IEC algorithm: a self-adaptive evolution strategy driven by clicks
    • CMA-ES, interactive PSO and pairwise differential evolution
    • Preferential Bayesian optimization, line search and gallery
    • Interactive MAP-Elites: a diverse archive instead of one winner
    • Many objectives, one person: reference-point NSGA-II
    • Fighting fatigue with a surrogate of the evaluator
    • The Blind Watchmaker and novelty-filtered galleries
  • Evaluators: simulated users, AI judges, panels and people
    • Simulated users: benchmarking with a known ground truth
    • An AI judge in the loop: prompts, images and debiasing
    • Panels: several evaluators, one decision
    • Hybrid evaluation: the AI answers, people decide the hard cases
    • Verbal steering: “much brighter, slightly less saturated”
    • Learning a utility from comparisons
  • Validation and benchmarking
    • Auditing a judge before trusting it
    • Psychometric audit: how small a difference can the judge see?
    • May the AI replace the annotators? The alt-test and prediction-powered inference
    • A factorial benchmark with simulated users
    • A judge-substitution study
    • Reports, animations and the burden of a session
  • Engineering applications
    • PID tuning by looking at step responses
    • Controlling an exothermic reactor at its unstable steady state
    • Designing a beer fermentation temperature profile
    • Fuzzy partitions and robot paths: geometry an expert can judge
    • Tuning an image-segmentation pipeline with a ground truth
  • Visual, creative and design applications
    • Fractals: Julia sets, strange attractors, IFS and flames
    • Generative art: CPPNs, harmonographs, superformula and cellular automata
    • Artificial life: biomorphs and L-system plants
    • Design: palettes, chart styles, faces and network drawings
    • Photo enhancement: grading an image by eye
    • Beyond images: melodies and slogans
  • Working with Claude (needs an API key, not executed in the gallery)
    • Claude as the evaluator of a session
    • Validating Claude as a judge
    • You and Claude together in a notebook gallery
  • Example gallery
  • Working with Claude (needs an API key, not executed in the gallery)
  • You and Claude together in a notebook gallery

Note

Go to the end to download the full example code or to run this example in your browser via Binder.

You and Claude together in a notebook gallery#

In Jupyter or Colab the JupyterGallery shows the images with buttons. With an escalation evaluator Claude answers the easy queries; when it is unsure the gallery stops, shows Claude’s suggestion pre-selected, and waits for your clicks. Ask AI fills in Claude’s answer on demand; the comment box accepts phrases such as “much brighter, slightly less contrast”.

import easyiec as ei
from easyiec.evaluators import AnthropicClient, EscalationEvaluator, HumanProxy, LLMJudge
from easyiec.problems import ImageEnhancement
from easyiec.strategies import InteractiveGA

problem = ImageEnhancement()
judge = LLMJudge(AnthropicClient("claude-haiku-5-5"), problem,
                 goal="a natural, warm, well-exposed photo of a cup of coffee")
hybrid = EscalationEvaluator(judge, HumanProxy(), policy="rate", target_rate=0.3)
app = ei.ui.JupyterGallery(problem, InteractiveGA(pop_size=9), evaluator=hybrid, assistant=judge)
app                                   # the last expression of a cell displays the gallery
Launch binder

Download Jupyter notebook: claude_03_hybrid_gallery.ipynb

Download Python source code: claude_03_hybrid_gallery.py

Download zipped: claude_03_hybrid_gallery.zip

Gallery generated by Sphinx-Gallery

previous

Validating Claude as a judge

next

AI judges, people and notebooks

Show Source

© Copyright 2026, János Abonyi.

Created using Sphinx 9.1.1.