|
QDpy
|
Learn an outcome space with an autoencoder and explore by novelty or surprise. More...
Public Member Functions | |
| novelty_archive (self) | |
| encode (self, observation) | |
| Re-encode an observation using the current autoencoder. | |
| Public Member Functions inherited from qdpy.algorithms.learned_exploration._ObservationSearch | |
| population (self) | |
| stats (self) | |
| run (self, evaluate, budget) | |
| Measure another hard budget while retaining partial generations. | |
Learn an outcome space with an autoencoder and explore by novelty or surprise.
Use latent k-nearest-neighbor novelty and reconstruction error. Choose one criterion with equal probability for each generation. Add the strongest novel offspring to a bounded archive. Fit on a bounded cache of measured observations between generations. :param dimension: Number of real parameters per genome. :param ind_domain: Common inclusive genome bounds. :param population_size: Maximum number of breeding policies. :param offspring: Number of evaluations per generation after initialization. :param mutation_sigma: Gaussian strength as a fraction of the bounds' span. :param latent_size: Learned descriptor width. :param neighbors: Neighbors contributing to each novelty score. :param novelty_capacity: Maximum number of retained novelty records. :param archive_additions: Maximum new records retained per generation. :param training_capacity: Maximum number of recent training observations. :param epochs: Reconstruction training epochs per completed generation. :param batch_size: Maximum observations per training minibatch. :param learning_rate: Adam learning rate. :param seed: Private rollout, variation and training seed. :param device: PyTorch device.
Definition at line 182 of file learned_exploration.py.
| qdpy.algorithms.learned_exploration.TAXONS.encode | ( | self, | |
| observation ) |
Re-encode an observation using the current autoencoder.
Return the current latent descriptor of one previously measurable observation.
Definition at line 240 of file learned_exploration.py.
| qdpy.algorithms.learned_exploration.TAXONS.novelty_archive | ( | self | ) |
Return measured observations retained for latent novelty.
Definition at line 218 of file learned_exploration.py.