easyiec.problems.ChernoffFace#

class easyiec.problems.ChernoffFace[source]#

Bases: Problem

Chernoff faces (Chernoff, 1973): facial features as design variables.

Thirteen genes control face shape, eyes, pupils, brows, nose and mouth. The phenotype features are interpretable expression scores (happiness, surprise, anger) plus geometry, so goals such as “a friendly, happy face” can be stated for simulated users and LLM judges alike. A tribute to facial-composite IEC systems (Caldwell and Johnston, 1991).

features(x)[source]#

Phenotype features in psychological space (default: image features).

render_plot(x, ax)[source]#

Plot-type phenotypes (curves, layouts) draw here; used by _image().

utility(x, target=None)[source]#

Default hidden utility in [0, 1] (ground truth of benchmarks).

With a target genome it is a Gaussian similarity of standardized phenotype features; subclasses with explicit objectives override it.

Examples using easyiec.problems.ChernoffFace#

May the AI replace the annotators? The alt-test and prediction-powered inference

May the AI replace the annotators? The alt-test and prediction-powered inference

Design: palettes, chart styles, faces and network drawings

Design: palettes, chart styles, faces and network drawings