QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.mboa.MBOA Class Reference

Use a Matérn residual model to select existing elites for deployment trials. More...

Public Member Functions

 trials (self)
 best (self)
 posterior (self)
 Return the current posterior over the repertoire.
 ask (self)
 Select one candidate for a real trial.
 tell (self, fitness)
 Record the one pending observation and spend its trial budget.
 run (self, evaluate)
 Spend the remaining budget with a caller-supplied evaluation function.

Detailed Description

Use a Matérn residual model to select existing elites for deployment trials.

Map-based Bayesian optimization using original fitness as the prior mean.

The repertoire stays fixed. The posterior combines its nominal scores
with measured residuals in the new conditions. Upper confidence bounds
rank the available entries. All returned fitnesses use the raw units.

:param repertoire: Live numeric container, numeric grid JSON
    export path, or the decoded JSON mapping.
:param budget: Maximum number of adaptation trials.
:param length_scale: Positive Matérn-5/2 length scale, in normalized
    descriptor coordinates. Axes without finite bounds use raw units.
:param kappa: Nonnegative exploration coefficient.
:param noise_variance: Positive observation variance in squared fitness units.
:param signal_variance: Positive GP variance in squared fitness units.
:param allow_repeats: Permit more than one new trial per repertoire entry.

Definition at line 72 of file mboa.py.

Member Function Documentation

◆ ask()

qdpy.algorithms.mboa.MBOA.ask ( self)

Select one candidate for a real trial.

Return the next candidate or raise StopIteration when out of trials.

Definition at line 155 of file mboa.py.

◆ best()

qdpy.algorithms.mboa.MBOA.best ( self)
Return the best genuine adaptation trial, or None before a success.

Definition at line 119 of file mboa.py.

◆ posterior()

qdpy.algorithms.mboa.MBOA.posterior ( self)

Return the current posterior over the repertoire.

Return posterior mean in raw fitness units and standard deviation.

Definition at line 131 of file mboa.py.

◆ run()

qdpy.algorithms.mboa.MBOA.run ( self,
evaluate )

Spend the remaining budget with a caller-supplied evaluation function.

Evaluate each selected numeric genome and return the best measured trial.

Definition at line 186 of file mboa.py.

◆ tell()

qdpy.algorithms.mboa.MBOA.tell ( self,
fitness )

Record the one pending observation and spend its trial budget.

Record a finite raw fitness or None if the trial failed.

Definition at line 169 of file mboa.py.

◆ trials()

qdpy.algorithms.mboa.MBOA.trials ( self)
Return the attempted trials in their original order.

Definition at line 114 of file mboa.py.


The documentation for this class was generated from the following file: