easyiec: interactive evolutionary computation with human, simulated and AI evaluators ===================================================================================== .. image:: _static/banner.png :alt: easyiec :class: fc-banner **easyiec** optimizes things whose quality is judged rather than computed — a controller response, a fermentation profile, a photo grading, a fractal, a colour palette, a melody, a slogan. An evolutionary algorithm proposes candidates, an evaluator chooses among them. The package is the Python successor of the EASY-IEC MATLAB toolbox (Madár, Abonyi and Szeifert, 2005) and extends it with a broad set of interactive algorithms, with evaluators that range from people to simulated users and vision–language models, and with the statistics needed to decide whether an AI judge may stand in for people. .. grid:: 1 2 2 3 :gutter: 3 .. grid-item-card:: Seven ways to answer :link: auto_examples/01_basics/plot_02_protocols :link-type: doc Select, rank, rate, pairs, best–worst, slider and direct edits; every answer becomes weighted pairwise preferences. .. grid-item-card:: Interactive algorithms :link: auto_examples/02_algorithms/index :link-type: doc GA, the EASY-IEC evolution strategy, CMA-ES, PSO, pairwise DE, MAP-Elites, NSGA-II, preferential BO, sequential line search and gallery, surrogates. .. grid-item-card:: AI judges :link: auto_examples/03_evaluators/plot_02_llm_judge :link-type: doc Claude, OpenAI-compatible, Gemini and Ollama models judge images and texts with order debiasing, JSON answers, rationales and a disk cache. .. grid-item-card:: Hybrid evaluation :link: auto_examples/03_evaluators/plot_04_escalation :link-type: doc The AI answers, a person decides when the AI is unsure — under a fixed, a rate-controlled or a calibrated risk-control threshold. .. grid-item-card:: Validating evaluators :link: auto_examples/04_validation/index :link-type: doc Psychometric audits, swap and transitivity tests, the alternative annotator test, prediction-powered inference, judge-substitution studies. .. grid-item-card:: Simulated users :link: auto_examples/03_evaluators/plot_01_simulated_users :link-type: doc Thurstonian and BTL choice models with fatigue, lapses, position bias, drift, comments and edits: benchmarks with a known ground truth. .. grid-item-card:: 25 problems :link: auto_examples/01_basics/plot_03_problem_zoo :link-type: doc PID and CSTR control, beer fermentation, fuzzy partitions, paths, photo enhancement, segmentation, fractals, CPPNs, design, music, text. .. grid-item-card:: Notebook galleries :link: llm :link-type: doc Click through galleries in Jupyter or Colab, with AI suggestions, a gene editor and comments such as “much brighter, slightly less contrast”. .. grid-item-card:: The book :link: book :link-type: doc *Interactive Evolutionary Computation in Python*: methods, algorithms, validation and case studies in one notation (CC BY 4.0). A first session --------------- .. code-block:: python import easyiec as ei from easyiec.problems import JuliaSet from easyiec.strategies import InteractiveGA ei.ui.JupyterGallery(JuliaSet(), InteractiveGA(pop_size=9)) # you choose user = ei.SimulatedUser(JuliaSet(), target="random", seed=1) # or a simulated user result = ei.run(JuliaSet(), InteractiveGA(), user, generations=12, seed=1) ei.viz.plot_anytime(result) .. toctree:: :maxdepth: 1 :hidden: installation auto_examples/index llm api/index book migration citing changelog