|
QDpy
|
Legacy named score mapping with a separate history of sample vectors. More...
Public Member Functions | |
| samples (self) | |
| Return a copy of the sample history in observation order. | |
| int | nb_samples (self) |
| Count the stored sample vectors. | |
| None | add_sample (self, sample) |
| Append a sample and recompute the legacy aggregate. | |
| None | merge (self, other) |
| Append another mapping's sample history. | |
| None | clear (self) |
| Remove the named measurements and recorded samples. | |
| Public Member Functions inherited from qdpy.phenotype.ScoresDict | |
| Sequence[Any] | select (self, Sequence[str] names) |
| FitnessLike | to_fitness (self, Sequence[str] names, *args, **kwargs) |
| FeaturesLike | to_features (self, Sequence[str] names, *args, **kwargs) |
Legacy named score mapping with a separate history of sample vectors.
Read old named score mappings and their original sample history. This compatibility class is deprecated for new experiments. As in QDpy 0.1.3, named lookups read the mapping and samples are stored separately. Use a sampling decorator for new repeated evaluations. :param sampling_strategy: Reducer used for the stored sample vectors. :param args: Initial mapping arguments passed to :class:`ScoresDict`. :param kwargs: Initial named measurements.
Definition at line 179 of file sampling.py.