easyiec.problems.SyntheticPreference#

class easyiec.problems.SyntheticPreference(dim=5, kind='sphere', width=0.15, seed=0)[source]#

Bases: Problem

A hidden utility over \([0,1]^d\) for fast algorithm benchmarks.

Parameters:
dimint
kind{“sphere”, “ellipsoid”, “multimodal”, “plateau”, “rosenbrock”}
widthfloat

Width of the utility peak: root-mean-square distance (per gene) at which the utility falls to \(e^{-1/2}\).

seedint

Draws the hidden optimum (and the decoys).

features(x)[source]#

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

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.SyntheticPreference#

The EASY-IEC algorithm: a self-adaptive evolution strategy driven by clicks

The EASY-IEC algorithm: a self-adaptive evolution strategy driven by clicks

CMA-ES, interactive PSO and pairwise differential evolution

CMA-ES, interactive PSO and pairwise differential evolution

Preferential Bayesian optimization, line search and gallery

Preferential Bayesian optimization, line search and gallery

Fighting fatigue with a surrogate of the evaluator

Fighting fatigue with a surrogate of the evaluator

Simulated users: benchmarking with a known ground truth

Simulated users: benchmarking with a known ground truth

Learning a utility from comparisons

Learning a utility from comparisons

A factorial benchmark with simulated users

A factorial benchmark with simulated users

Reports, animations and the burden of a session

Reports, animations and the burden of a session