QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.produqd.PRODUQD Class Reference

Surrogate illuminate, cluster predicted elites, and reseed search from selected families. More...

Public Member Functions

 __init__ (self, archive, dimension, describe, *, ind_domain=(0., 1.), initial_samples=16, acquisition_steps=128, prediction_steps=256, evaluations_per_fit=4, kappa=2., mutation_sigma=.08, embedding="pca", cluster_eps=.2, min_samples=2, seed=0)
 predictions (self)
 Predicted fitness and descriptors for current mean-only map elites.
 prototypes (self)
 Current clusters and medoids, available after two successful observations.
 stats (self)
 Cumulative budgets from the lifetime of this search.
 select_prototypes (self, indices=None)
 Use the specified families from the latest round to seed both maps.
 run (self, evaluate, budget)
 Spend the supplied true-evaluation budget and refresh prototypes.

Detailed Description

Surrogate illuminate, cluster predicted elites, and reseed search from selected families.

The supplied grid only stores measured elites. All valid measurements train the GP.

Inspect predictions and prototypes after each run, then select any number of
prototype families before resuming. Selecting families sets breeding seeds
in both surrogate maps. Mutation may still visit other parts of the domain.

Definition at line 81 of file produqd.py.

Constructor & Destructor Documentation

◆ __init__()

qdpy.algorithms.produqd.PRODUQD.__init__ ( self,
archive,
dimension,
describe,
* ,
ind_domain = (0., 1.),
initial_samples = 16,
acquisition_steps = 128,
prediction_steps = 256,
evaluations_per_fit = 4,
kappa = 2.,
mutation_sigma = .08,
embedding = "pca",
cluster_eps = .2,
min_samples = 2,
seed = 0 )
Parameters
archiveEmpty scalar best-only Grid or CVTGrid with finite descriptor bounds.
dimensionNumber of decision coordinates.
describeCheap callable (genome) returning descriptors or None outside the descriptor support.
ind_domainShared or per-coordinate finite parameter bounds.
initial_samplesReal calls assigned to initial Sobol sampling.
acquisition_stepsOffspring attempts per upper-confidence map.
prediction_stepsOffspring attempts in the mean-only map at the end of a round.
evaluations_per_fitMaximum expensive calls per acquisition map.
kappaPositive standard-deviation coefficient for upper confidence.
mutation_sigmaGaussian mutation scale in unit decision coordinates.
embedding"pca" or "tsne" for clustering designs.
cluster_epsDBSCAN neighborhood radius in the embedding coordinates.
min_samplesDBSCAN neighborhood size.
seedSeed for Sobol sampling, mutation, and dimensionality reduction.

Definition at line 103 of file produqd.py.

Member Function Documentation

◆ run()

qdpy.algorithms.produqd.PRODUQD.run ( self,
evaluate,
budget )

Spend the supplied true-evaluation budget and refresh prototypes.

Parameters
evaluateExpensive callable (genome) returning scalar fitness or None on failure.
budgetNumber of expensive calls to attempt in this round.

Definition at line 304 of file produqd.py.

◆ select_prototypes()

qdpy.algorithms.produqd.PRODUQD.select_prototypes ( self,
indices = None )

Use the specified families from the latest round to seed both maps.

Parameters
indicesNonempty iterable of current prototype indices. None clears the focus.

Definition at line 159 of file produqd.py.


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