:orphan: Example gallery =============== Every example builds its own problem, runs an interactive evolutionary process with a simulated, metric or AI evaluator, explains what happens and ends with a picture of the process. The examples run without a network connection: the AI judges are replaced by the offline ``MockJudgeClient``, and the last section shows the same code with Claude. Replace the evaluator by ``easyiec.ui.JupyterGallery`` and you become the evaluator yourself. The same scripts produce the figures of the book. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. thumbnail-parent-div-close .. raw:: html
First steps: sessions, protocols, spaces and logs ------------------------------------------------- .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/01_basics/images/thumb/sphx_glr_plot_01_first_session_thumb.png :alt: :doc:`/auto_examples/01_basics/plot_01_first_session` .. raw:: html
A first interactive session: evolving a Julia set
.. raw:: html
.. only:: html .. image:: /auto_examples/01_basics/images/thumb/sphx_glr_plot_02_protocols_thumb.png :alt: :doc:`/auto_examples/01_basics/plot_02_protocols` .. raw:: html
Seven ways to answer: feedback protocols
.. raw:: html
.. only:: html .. image:: /auto_examples/01_basics/images/thumb/sphx_glr_plot_03_problem_zoo_thumb.png :alt: :doc:`/auto_examples/01_basics/plot_03_problem_zoo` .. raw:: html
Search spaces and the problem zoo
.. raw:: html
.. only:: html .. image:: /auto_examples/01_basics/images/thumb/sphx_glr_plot_04_session_log_thumb.png :alt: :doc:`/auto_examples/01_basics/plot_04_session_log` .. raw:: html
Everything is logged: genealogy, lineage and the map of a session
.. raw:: html
.. only:: html .. image:: /auto_examples/01_basics/images/thumb/sphx_glr_plot_05_matlab_workflow_thumb.png :alt: :doc:`/auto_examples/01_basics/plot_05_matlab_workflow` .. raw:: html
From the MATLAB toolbox: the popu workflow
.. thumbnail-parent-div-close .. raw:: html
Interactive algorithms ---------------------- .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/02_algorithms/images/thumb/sphx_glr_plot_01_easyiec_es_thumb.png :alt: :doc:`/auto_examples/02_algorithms/plot_01_easyiec_es` .. raw:: html
The EASY-IEC algorithm: a self-adaptive evolution strategy driven by clicks
.. raw:: html
.. only:: html .. image:: /auto_examples/02_algorithms/images/thumb/sphx_glr_plot_02_cmaes_pso_de_thumb.png :alt: :doc:`/auto_examples/02_algorithms/plot_02_cmaes_pso_de` .. raw:: html
CMA-ES, interactive PSO and pairwise differential evolution
.. raw:: html
.. only:: html .. image:: /auto_examples/02_algorithms/images/thumb/sphx_glr_plot_03_bayesian_thumb.png :alt: :doc:`/auto_examples/02_algorithms/plot_03_bayesian` .. raw:: html
Preferential Bayesian optimization, line search and gallery
.. raw:: html
.. only:: html .. image:: /auto_examples/02_algorithms/images/thumb/sphx_glr_plot_04_map_elites_thumb.png :alt: :doc:`/auto_examples/02_algorithms/plot_04_map_elites` .. raw:: html
Interactive MAP-Elites: a diverse archive instead of one winner
.. raw:: html
.. only:: html .. image:: /auto_examples/02_algorithms/images/thumb/sphx_glr_plot_05_nsga2_reference_thumb.png :alt: :doc:`/auto_examples/02_algorithms/plot_05_nsga2_reference` .. raw:: html
Many objectives, one person: reference-point NSGA-II
.. raw:: html
.. only:: html .. image:: /auto_examples/02_algorithms/images/thumb/sphx_glr_plot_06_surrogate_thumb.png :alt: :doc:`/auto_examples/02_algorithms/plot_06_surrogate` .. raw:: html
Fighting fatigue with a surrogate of the evaluator
.. raw:: html
.. only:: html .. image:: /auto_examples/02_algorithms/images/thumb/sphx_glr_plot_07_watchmaker_novelty_thumb.png :alt: :doc:`/auto_examples/02_algorithms/plot_07_watchmaker_novelty` .. raw:: html
The Blind Watchmaker and novelty-filtered galleries
.. thumbnail-parent-div-close .. raw:: html
Evaluators: simulated users, AI judges, panels and people --------------------------------------------------------- .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/03_evaluators/images/thumb/sphx_glr_plot_01_simulated_users_thumb.png :alt: :doc:`/auto_examples/03_evaluators/plot_01_simulated_users` .. raw:: html
Simulated users: benchmarking with a known ground truth
.. raw:: html
.. only:: html .. image:: /auto_examples/03_evaluators/images/thumb/sphx_glr_plot_02_llm_judge_thumb.png :alt: :doc:`/auto_examples/03_evaluators/plot_02_llm_judge` .. raw:: html
An AI judge in the loop: prompts, images and debiasing
.. raw:: html
.. only:: html .. image:: /auto_examples/03_evaluators/images/thumb/sphx_glr_plot_03_panels_thumb.png :alt: :doc:`/auto_examples/03_evaluators/plot_03_panels` .. raw:: html
Panels: several evaluators, one decision
.. raw:: html
.. only:: html .. image:: /auto_examples/03_evaluators/images/thumb/sphx_glr_plot_04_escalation_thumb.png :alt: :doc:`/auto_examples/03_evaluators/plot_04_escalation` .. raw:: html
Hybrid evaluation: the AI answers, people decide the hard cases
.. raw:: html
.. only:: html .. image:: /auto_examples/03_evaluators/images/thumb/sphx_glr_plot_05_verbal_steering_thumb.png :alt: :doc:`/auto_examples/03_evaluators/plot_05_verbal_steering` .. raw:: html
Verbal steering: "much brighter, slightly less saturated"
.. raw:: html
.. only:: html .. image:: /auto_examples/03_evaluators/images/thumb/sphx_glr_plot_06_preference_models_thumb.png :alt: :doc:`/auto_examples/03_evaluators/plot_06_preference_models` .. raw:: html
Learning a utility from comparisons
.. thumbnail-parent-div-close .. raw:: html
Validation and benchmarking --------------------------- .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/04_validation/images/thumb/sphx_glr_plot_01_judge_audit_thumb.png :alt: :doc:`/auto_examples/04_validation/plot_01_judge_audit` .. raw:: html
Auditing a judge before trusting it
.. raw:: html
.. only:: html .. image:: /auto_examples/04_validation/images/thumb/sphx_glr_plot_02_psychometric_thumb.png :alt: :doc:`/auto_examples/04_validation/plot_02_psychometric` .. raw:: html
Psychometric audit: how small a difference can the judge see?
.. raw:: html
.. only:: html .. image:: /auto_examples/04_validation/images/thumb/sphx_glr_plot_03_alt_test_ppi_thumb.png :alt: :doc:`/auto_examples/04_validation/plot_03_alt_test_ppi` .. raw:: html
May the AI replace the annotators? The alt-test and prediction-powered inference
.. raw:: html
.. only:: html .. image:: /auto_examples/04_validation/images/thumb/sphx_glr_plot_04_benchmark_thumb.png :alt: :doc:`/auto_examples/04_validation/plot_04_benchmark` .. raw:: html
A factorial benchmark with simulated users
.. raw:: html
.. only:: html .. image:: /auto_examples/04_validation/images/thumb/sphx_glr_plot_05_compare_evaluators_thumb.png :alt: :doc:`/auto_examples/04_validation/plot_05_compare_evaluators` .. raw:: html
A judge-substitution study
.. raw:: html
.. only:: html .. image:: /auto_examples/04_validation/images/thumb/sphx_glr_plot_06_reports_thumb.png :alt: :doc:`/auto_examples/04_validation/plot_06_reports` .. raw:: html
Reports, animations and the burden of a session
.. thumbnail-parent-div-close .. raw:: html
Engineering applications ------------------------ .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/05_engineering/images/thumb/sphx_glr_plot_01_pid_tuning_thumb.png :alt: :doc:`/auto_examples/05_engineering/plot_01_pid_tuning` .. raw:: html
PID tuning by looking at step responses
.. raw:: html
.. only:: html .. image:: /auto_examples/05_engineering/images/thumb/sphx_glr_plot_02_cstr_control_thumb.png :alt: :doc:`/auto_examples/05_engineering/plot_02_cstr_control` .. raw:: html
Controlling an exothermic reactor at its unstable steady state
.. raw:: html
.. only:: html .. image:: /auto_examples/05_engineering/images/thumb/sphx_glr_plot_03_beer_fermentation_thumb.png :alt: :doc:`/auto_examples/05_engineering/plot_03_beer_fermentation` .. raw:: html
Designing a beer fermentation temperature profile
.. raw:: html
.. only:: html .. image:: /auto_examples/05_engineering/images/thumb/sphx_glr_plot_04_fuzzy_and_paths_thumb.png :alt: :doc:`/auto_examples/05_engineering/plot_04_fuzzy_and_paths` .. raw:: html
Fuzzy partitions and robot paths: geometry an expert can judge
.. raw:: html
.. only:: html .. image:: /auto_examples/05_engineering/images/thumb/sphx_glr_plot_05_segmentation_thumb.png :alt: :doc:`/auto_examples/05_engineering/plot_05_segmentation` .. raw:: html
Tuning an image-segmentation pipeline with a ground truth
.. thumbnail-parent-div-close .. raw:: html
Visual, creative and design applications ---------------------------------------- .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/06_visual/images/thumb/sphx_glr_plot_01_fractals_thumb.png :alt: :doc:`/auto_examples/06_visual/plot_01_fractals` .. raw:: html
Fractals: Julia sets, strange attractors, IFS and flames
.. raw:: html
.. only:: html .. image:: /auto_examples/06_visual/images/thumb/sphx_glr_plot_02_generative_art_thumb.png :alt: :doc:`/auto_examples/06_visual/plot_02_generative_art` .. raw:: html
Generative art: CPPNs, harmonographs, superformula and cellular automata
.. raw:: html
.. only:: html .. image:: /auto_examples/06_visual/images/thumb/sphx_glr_plot_03_artificial_life_thumb.png :alt: :doc:`/auto_examples/06_visual/plot_03_artificial_life` .. raw:: html
Artificial life: biomorphs and L-system plants
.. raw:: html
.. only:: html .. image:: /auto_examples/06_visual/images/thumb/sphx_glr_plot_04_design_thumb.png :alt: :doc:`/auto_examples/06_visual/plot_04_design` .. raw:: html
Design: palettes, chart styles, faces and network drawings
.. raw:: html
.. only:: html .. image:: /auto_examples/06_visual/images/thumb/sphx_glr_plot_05_photo_enhancement_thumb.png :alt: :doc:`/auto_examples/06_visual/plot_05_photo_enhancement` .. raw:: html
Photo enhancement: grading an image by eye
.. raw:: html
.. only:: html .. image:: /auto_examples/06_visual/images/thumb/sphx_glr_plot_06_music_and_text_thumb.png :alt: :doc:`/auto_examples/06_visual/plot_06_music_and_text` .. raw:: html
Beyond images: melodies and slogans
.. thumbnail-parent-div-close .. raw:: html
Working with Claude (needs an API key, not executed in the gallery) ------------------------------------------------------------------- .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/07_claude/images/thumb/sphx_glr_claude_01_judge_session_thumb.png :alt: :doc:`/auto_examples/07_claude/claude_01_judge_session` .. raw:: html
Claude as the evaluator of a session
.. raw:: html
.. only:: html .. image:: /auto_examples/07_claude/images/thumb/sphx_glr_claude_02_validation_study_thumb.png :alt: :doc:`/auto_examples/07_claude/claude_02_validation_study` .. raw:: html
Validating Claude as a judge
.. raw:: html
.. only:: html .. image:: /auto_examples/07_claude/images/thumb/sphx_glr_claude_03_hybrid_gallery_thumb.png :alt: :doc:`/auto_examples/07_claude/claude_03_hybrid_gallery` .. raw:: html
You and Claude together in a notebook gallery
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: :includehidden: /auto_examples/01_basics/index.rst /auto_examples/02_algorithms/index.rst /auto_examples/03_evaluators/index.rst /auto_examples/04_validation/index.rst /auto_examples/05_engineering/index.rst /auto_examples/06_visual/index.rst /auto_examples/07_claude/index.rst .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: auto_examples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_