QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.sampling.SampledFeatures Class Reference
Inheritance diagram for qdpy.algorithms.sampling.SampledFeatures:
qdpy.phenotype.Features qdpy.phenotype.Score qdpy.phenotype.FeaturesLike qdpy.phenotype.ScoreLike qdpy.phenotype.ScoreLike

Public Member Functions

List[FeaturesValuesLike] samples (self)
int nb_samples (self)
None add_sample (self, sample)
None merge (self, other)
Public Member Functions inherited from qdpy.phenotype.Score
bool dominates (self, Any other, Any obj=slice(None), Optional[ScoreValuesLike] weights=None)
bool valid (self)

Detailed Description

Keep descriptor observations and expose their coordinate-wise aggregate.

Definition at line 122 of file sampling.py.

Member Function Documentation

◆ add_sample()

None qdpy.algorithms.sampling.SampledFeatures.add_sample ( self,
sample )
Add a nonempty descriptor observation and refresh the aggregate.

Definition at line 165 of file sampling.py.

◆ merge()

None qdpy.algorithms.sampling.SampledFeatures.merge ( self,
other )
Combine recorded descriptor observations with another sampled vector.

Definition at line 172 of file sampling.py.

◆ nb_samples()

int qdpy.algorithms.sampling.SampledFeatures.nb_samples ( self)
Number of retained descriptor observations.

Definition at line 161 of file sampling.py.

◆ samples()

List[FeaturesValuesLike] qdpy.algorithms.sampling.SampledFeatures.samples ( self)
Return a new list containing the observed descriptor vectors.

Definition at line 156 of file sampling.py.


The documentation for this class was generated from the following file: