Visualization#

Static visualizations of interactive evolutionary processes and of their evaluators.

Galleries, process plots, evaluator diagnostics, animations and HTML reports.

Functions#

plot_gallery(problem, items, *[, chosen, ...])

Grid of phenotypes; chosen candidates framed in vermilion, kept ones in green, edited ones in purple.

plot_history(log, problem[, steps, ...])

One row per answered query: the candidates shown, the chosen ones framed (a session 'film strip').

plot_genealogy(log[, ax, max_nodes, ...])

Genealogy as a layered graph: generations left to right, parent → child edges, nodes coloured by the variation operator; chosen individuals enlarged and framed.

plot_lineage(log, problem[, ident, size, ...])

Thumbnails along the ancestry of an individual (default: the session's best).

lineage(log, ident)

Ancestry of an individual (first parent chain) from the initial population to ident.

plot_embedding(log[, problem, method, ...])

2-D map (PCA, MDS or t-SNE) of every shown individual; chosen ones outlined; the path of the chosen centroids shows how the search moved.

plot_anytime(result[, ax, x, label, color, ...])

Best-so-far ground-truth utility of one run, with the utilities of all shown candidates.

plot_convergence(results_or_frame[, x, ax, ...])

Mean best-so-far curves with bootstrap bands of several strategies/evaluators.

plot_gene_trajectories(log, problem[, ...])

Normalized gene values of the chosen individuals over the queries (parallel lines over time).

plot_utility_by_step(log[, ax])

Distribution of the ground-truth utility of the shown candidates per query; chosen ones in vermilion.

plot_diversity(log, problem[, ax, space])

Diversity of the shown candidates per query (mean normalized pairwise distance).

plot_preference_landscape(model, problem[, ...])

2-D slice of a learned utility (mean or std) through base (default: centre), with observed items.

plot_pareto(problem, individuals[, ...])

Objective-space scatter with the non-dominated set highlighted and the chosen candidates framed.

plot_strategy_state(strategy[, ax])

Strategy-specific internal state: CMA-ES step size and mean, ES step sizes, PSO swarm, MAP-Elites archive.

animate_session(log, problem, path[, ...])

GIF animation: one frame per query, chosen candidates framed (Pillow).

plot_agreement(matrix[, ax, title, fmt])

Heatmap of a pairwise agreement matrix (pandas DataFrame).

plot_psychometric(results[, ax, labels, log])

Psychometric curves (proportion correct vs. attribute difference) with fitted functions and 75 % thresholds.

plot_position_bias(result[, ax, title])

Choice rate by display position (from easyiec.validation.position_bias()).

plot_escalation(escalation[, ax])

Uncertainty of the AI answers, the escalation threshold τ and the escalated queries over time.

plot_calibration(cal[, ax])

Reliability diagram of self-reported confidence (from easyiec.validation.calibration()).

plot_judge_audit(audits[, fig])

Dashboard comparing judges: position consistency, first-position win rate, transitivity, self-consistency.

plot_burden(summary[, value, by, ax])

Bar chart of evaluator effort (from a run-summary table).

plot_critical_difference(avg_ranks, names, cd)

Critical-difference diagram (Demšar, 2006): average ranks with bars joining groups not significantly different.

plot_member_votes(feedback, query[, ax])

Vote shares of panel members per candidate for a select answer of a Panel.

session_report(result, path, *[, evaluator, ...])

Write an HTML report of a finished session (Result or Session) and return its path.