|
QDpy
|
MAP-Elites policies for allocating rollouts in uncertain domains. More...
Go to the source code of this file.
Classes | |
| class | qdpy.algorithms.uncertain._Rollouts |
| Dispatch rollouts and resolve them in submission order. More... | |
| class | qdpy.algorithms.uncertain.StandardErrorSamplingDecorator |
| Request repeats until coordinate-wise standard errors meet the tolerances. More... | |
| class | qdpy.algorithms.uncertain.UncertainMAPElites |
| Coordinate scalar-objective MAP-Elites policies that reevaluate archives. More... | |
| class | qdpy.algorithms.uncertain.ArchiveAudit |
| Independent audit results and the corresponding corrected archive. More... | |
Namespaces | |
| namespace | qdpy |
Functions | |
| qdpy.algorithms.uncertain._quality (archive, individual) | |
| Pick the highest-weighted objective in a scalar-objective archive. | |
| qdpy.algorithms.uncertain._select_elite (archive) | |
| Choose a cell uniformly and select its highest-quality member. | |
| qdpy.algorithms.uncertain._selection_weights (archive, entries) | |
| Convert quality measurements to nonnegative proportional selection weights. | |
| qdpy.algorithms.uncertain._select_deep_grid (archive) | |
| Choose uniformly among occupied cells, then proportionately to fitness. | |
| qdpy.algorithms.uncertain._cell (archive, individual) | |
| Report whether a descriptor estimate maps into a configured cell. | |
| qdpy.algorithms.uncertain._incumbent (archive, cell) | |
| Select the active incumbent for a local comparison. | |
| qdpy.algorithms.uncertain._worker (evaluate, individual, seeded) | |
| Evaluate one worker job and preserve in-place evaluation results. | |
| qdpy.algorithms.uncertain._measurement_groups (archive, evaluate, *, samples, seed, estimator, representative="best", selector=None, executor=None) | |
| qdpy.algorithms.uncertain.reevaluate_archive (archive, evaluate, *, samples=32, seed=0, estimator="median", representative="best", selector=None, executor=None) | |
| Reevaluate one result per occupied cell using fresh, seeded rollouts. | |
MAP-Elites policies for allocating rollouts in uncertain domains.
Definition in file uncertain.py.
|
protected |
Share independent rollout measurements across archive projections.
Definition at line 472 of file uncertain.py.
|
protected |
Choose uniformly among occupied cells, then proportionately to fitness.
Definition at line 59 of file uncertain.py.
| qdpy.algorithms.uncertain.reevaluate_archive | ( | archive, | |
| evaluate, | |||
| * | , | ||
| samples = 32, | |||
| seed = 0, | |||
| estimator = "median", | |||
| representative = "best", | |||
| selector = None, | |||
| executor = None ) |
Reevaluate one result per occupied cell using fresh, seeded rollouts.
| archive | Fixed Grid or CVTGrid to audit. |
| evaluate | Callable taking an individual and the independent rollout seed. |
| samples | Number of independent rollouts per occupied source cell. |
| seed | Base seed for the audit stream. |
| estimator | Coordinate-wise mean or median. |
| representative | Best-per-cell or selector-based measurements. |
| selector | Optional in-cell selector taking the archive, entries and RNG. |
| executor | Optional QDpy executor. |
Build a new depth-one archive without changing the input archive. The selector-based audit draws a member on each rollout. Its aggregate describes a source cell's deployment policy. The corrected coverage denominator is the number of cells in the source geometry.
Definition at line 513 of file uncertain.py.