QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.deep_surrogate.DeepSurrogateMAPElites Class Reference

Refit a joint model and verify elites from a fresh surrogate search. More...

Public Member Functions

 optimise (self, evaluate, *, executor=None, seeded=False)
 Run retraining rounds and return the archive of exact evaluations.

Detailed Description

Refit a joint model and verify elites from a fresh surrogate search.

Run DSA-ME on a user-defined numeric genome with custom variation.

:param container: Empty parentless, one-elite scalar Grid or CVTGrid.
:param budget: Hard cap on exact evaluator calls, including failures.
:param propose: Callback (rng) returning a fresh numeric genome.
:param mutate: Callback (parent_genome, rng) producing a varied genome.
:param surrogate: Optional model with fit(X, Y) and predict(X). Y has
    the scalar fitness followed by the descriptor coordinates. The
    default is a scaled, two-hidden-layer scikit-learn regressor.
:param encode: Optional genome-to-vector callback for the model.
:param initial_samples: Number of exact random measurements and random
    starts in each fresh inner archive.
:param model_budget: Prediction calls available per surrogate search.
:param seed: Private seed for proposals, evaluations, and the default model.

Definition at line 26 of file deep_surrogate.py.

Member Function Documentation

◆ optimise()

qdpy.algorithms.deep_surrogate.DeepSurrogateMAPElites.optimise ( self,
evaluate,
* ,
executor = None,
seeded = False )

Run retraining rounds and return the archive of exact evaluations.

Measure selected predictions in submission order under the exact-call budget.

Definition at line 94 of file deep_surrogate.py.


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