|
QDpy
|
Generate a predicted repertoire from a fixed dataset. More...
Public Member Functions | |
| run (self, budget, *, initial_samples=16) | |
| Run bounded search without any calls to an exact evaluator. | |
Static Public Member Functions | |
| verify (result, evaluate, budget, *, seed=0, executor=None) | |
| Verify a uniform shortlist of predicted elites under an independent exact budget. | |
Generate a predicted repertoire from a fixed dataset.
Fit independent GP output columns once and search over their predictions. Logged genomes are numerical vectors in a shared real interval. Their measured fitness and descriptor columns train the surrogate. Predicted elites compete by signed mean fitness plus uncertainty weight times standard deviation. A separate verification call uses true measurements and can relocate verified elites to other cells. :param archive: Empty parentless best-only Grid or CVTGrid with one signed objective. :param genomes: Matrix with one logged genome per row. :param fitnesses: One measured scalar fitness per row. :param descriptors: Matrix of measured behavior coordinates in row order. :param ind_domain: Shared closed interval for the real genome coordinates. :param uncertainty_weight: Signed standard-deviation multiplier in acquisition. :param length_scale: Fixed Matérn length scale in normalized genome coordinates. :param noise: Positive GP covariance nugget in standardized output units. :param iso_sigma: Independent Iso+LineDD mutation scale. :param line_sigma: Shared Iso+LineDD direction scale. :param seed: Private seed for search and initial proposals.
Definition at line 69 of file offline.py.
| qdpy.algorithms.offline.OfflineMAPElites.run | ( | self, | |
| budget, | |||
| * | , | ||
| initial_samples = 16 ) |
Run bounded search without any calls to an exact evaluator.
| budget | Maximum surrogate predictions, including logged seed genomes. |
| initial_samples | Number of logged genomes rescored before variation. |
Return an independent predicted grid using a fixed seed.
Reimplemented in qdpy.algorithms.ga_me.GradientAugmentedMAPElites.
Definition at line 128 of file offline.py.
|
static |
Verify a uniform shortlist of predicted elites under an independent exact budget.
| result | Predicted archive from run(). |
| evaluate | Native QDpy evaluator consuming an individual and rollout seed. |
| budget | Maximum exact calls. Each selected elite is evaluated once. |
| seed | Seed for shortlist choice and rollout randomness. |
| executor | Optional evaluator executor. |
Keep measured outcomes separate. Observed descriptor cells decide placement.
Definition at line 163 of file offline.py.