stk.FitnessNormalizer
- class stk.FitnessNormalizer[source]
Bases:
Generic[T]Abstract base class for fitness normalizers.
A fitness normalizer takes a dictionary mapping
MoleculeRecordinstances to their fitness values and returns a new dictionary mapping them to their normalized fitness values. The primary benefit of a normalizer vs aFitnessCalculatoris that aFitnessNormalizerhas access to all members in the population when it is calculating the normalized fitness value, whereas aFitnessCalculatordoes not.Methods
Normalize some fitness values.