stk.NullFitnessNormalizer

class stk.NullFitnessNormalizer[source]

Bases: FitnessNormalizer[T]

Does nothing.

This normalizer just yields the molecule records passed to it, without changing them in any way.

Methods

normalize

Normalize some fitness values.

normalize(fitness_values)[source]

Normalize some fitness values.

Parameters:

fitness_values (dict[T, Any]) – The molecules which need to have their fitness values normalized.

Returns:

The new fitness value for each molecule.

Return type:

dict[T, Any]