QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.me_es.MEES Class Reference

Alternate ES quality and novelty updates from an archive of measured centers. More...

Public Member Functions

 evaluations (self)
 center_evaluations (self)
 updates (self)
 run (self, evaluate, budget, *, executor=None)
 Spend an additional budget on whole ES and center evaluation batches.

Detailed Description

Alternate ES quality and novelty updates from an archive of measured centers.

Black-box MAP-Elites with Evolution Strategies.

Perturbation measurements guide an Adam update. Independently evaluate
the resulting center before offering it to the grid. Novelty uses the
descriptors of previously evaluated centers, including rejected ones.

:param archive: Best-only Grid or CVTGrid with one finite nonzero fitness weight.
:param x0: Initial parameter vector.
:param pairs: Number of antithetic Gaussian pairs per ES step.
:param block_steps: Number of ES steps before selecting a new elite.
:param mode: "exploit", "explore", or "explore-exploit" (alternating blocks).
:param evaluations_per_center: Number of rollouts averaged per center.
:param sigma: Gaussian standard deviation.
:param learning_rate: Adam step size.
:param l2: Parameter decay included in the ascent gradient.
:param novelty_neighbors: Number of nearest center descriptors for novelty.
:param ind_domain: Optional common lower and upper parameter bounds.
:param seed: Private random seed.

Definition at line 28 of file me_es.py.

Member Function Documentation

◆ center_evaluations()

qdpy.algorithms.me_es.MEES.center_evaluations ( self)
Return attempted center rollouts, including initialization.

Definition at line 89 of file me_es.py.

◆ evaluations()

qdpy.algorithms.me_es.MEES.evaluations ( self)
Return attempted perturbation and center evaluations combined.

Definition at line 84 of file me_es.py.

◆ run()

qdpy.algorithms.me_es.MEES.run ( self,
evaluate,
budget,
* ,
executor = None )

Spend an additional budget on whole ES and center evaluation batches.

Return the result archive after using at most budget evaluator calls.

Return (scalar fitness, descriptors) or None for a failed rollout.
A caller-owned executor must support submit and Future.result.
Feedback order follows submission order.

Definition at line 195 of file me_es.py.

◆ updates()

qdpy.algorithms.me_es.MEES.updates ( self)
Return the number of completed ES steps.

Definition at line 94 of file me_es.py.


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