QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.prior_offline.PriorGuidedOfflineMAPElites Class Reference

Adapt prior-guided offline design to products of finite categories. More...

Public Member Functions

 run (self, budget, *, initial_samples=16)
 Search with a hard cap on frozen-model predictions.

Detailed Description

Adapt prior-guided offline design to products of finite categories.

Use a frozen Matérn GP and a caller-supplied categorical prior.

Mutation samples single-locus changes and optionally chooses among
them using prior scores. At admission, increasing model uncertainty
increases the contribution of the prior to a normalized quality score.
The returned archive stores raw predicted quality and descriptors.
Disagreement is an acquisition signal and carries no coverage guarantee.

:param archive: Empty parentless best-only Grid or CVTGrid with one signed objective.
:param genomes: Integer training designs, one row per measurement.
:param fitnesses: Measured scalar qualities for the training designs.
:param descriptors: Measured descriptors for the training designs.
:param nvec: Number of zero-based categories in each locus.
:param prior: Callable scoring a design on [0, 1], with higher being more plausible.
:param prior_weight: Maximum fraction of the acquisition score determined by the prior.
:param uncertainty_scale: Predicted deviation at which the prior receives half its maximum weight.
    Defaults to one quarter of the logged quality span.
:param uncertainty_penalty: Fixed standard-deviation penalty in quality units.
:param mutation_choices: Number of prior-scored edits per mutation.
:param proposal_strength: Inverse temperature applied to prior scores on edits.
:param length_scale: Fixed Matérn length scale on one-hot genomes.
:param noise: Positive GP covariance regularization.
:param seed: Private seed for seed selection and mutations.

Definition at line 29 of file prior_offline.py.

Member Function Documentation

◆ run()

qdpy.algorithms.prior_offline.PriorGuidedOfflineMAPElites.run ( self,
budget,
* ,
initial_samples = 16 )

Search with a hard cap on frozen-model predictions.

Parameters
budgetMaximum number of proposed designs measured by the model.
initial_samplesNumber of measured training designs to rescore first.
Returns
A predicted archive with raw predictive quality and separate acquisition scores.
Make a new predicted archive and count every prior call.

Definition at line 123 of file prior_offline.py.


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