|
QDpy
|
Combinatorial MAP-Elites with several decoders and adaptive emitters. More...
Go to the source code of this file.
Classes | |
| class | qdpy.algorithms.multi_decoder.MultiDecoderResult |
| Archive and separate proposal, decoding, and objective measurement budgets. More... | |
Namespaces | |
| namespace | qdpy |
Functions | |
| qdpy.algorithms.multi_decoder.multi_decoder_map_elites (archive, evaluate, *, sample, emitters, decoders, budget, initial_samples=8, rule="round_robin", exploration=1., epsilon=.3, seed=0) | |
| Generate offspring with round-robin or bandit emitters and decode them on a common grid. | |
Combinatorial MAP-Elites with several decoders and adaptive emitters.
Definition in file multi_decoder.py.
| qdpy.algorithms.multi_decoder.multi_decoder_map_elites | ( | archive, | |
| evaluate, | |||
| * | , | ||
| sample, | |||
| emitters, | |||
| decoders, | |||
| budget, | |||
| initial_samples = 8, | |||
| rule = "round_robin", | |||
| exploration = 1., | |||
| epsilon = .3, | |||
| seed = 0 ) |
Generate offspring with round-robin or bandit emitters and decode them on a common grid.
| archive | Empty parentless best-only Grid or CVTGrid. |
| evaluate | Callable (decoded) returning (scalar quality, descriptors), or None to reject. |
| sample | Callable (rng) returning an undecoded genome. |
| emitters | Ordered callables (parent, rng) returning an undecoded child genome. |
| decoders | Ordered callables (genome) returning a phenotype or None. |
| budget | Hard limit on decoder calls, including failures. |
| initial_samples | Number of proposals before selecting an emitter. |
| rule | Selection rule, "round_robin", "ucb1", or "decaying_epsilon". |
| exploration | Nonnegative UCB exploration coefficient. |
| epsilon | Initial exploration probability for decaying epsilon. |
| seed | Seed for parent selection and variation. |
Try each decoder on the emitted genome and reward successful admissions. Each decode consumes a budget slot, including a refusal to decode. Rotate decoder order each proposal. Each arm earns the fraction of attempted decodings that filled or improved a cell. The decoder index prefixes archived genomes to preserve alternative phenotypes.
Definition at line 46 of file multi_decoder.py.