emmi.modules.preprocessors.normalizers.mean_std_normalization ============================================================= .. py:module:: emmi.modules.preprocessors.normalizers.mean_std_normalization Classes ------- .. autoapisummary:: emmi.modules.preprocessors.normalizers.mean_std_normalization.MeanStdNormalization Module Contents --------------- .. py:class:: MeanStdNormalization(normalizer_config, **kwargs) Bases: :py:obj:`emmi.modules.preprocessors.normalizers.shift_and_scale_normalizer.ShiftAndScaleNormalizer` Normalizes data using mean and standard deviation. It shifts the data by subtracting the mean and scales it by dividing by the standard deviation. :param normalizer_config: Configuration containing mean and std values. Imports MeanStdNormalizerConfig. :param \*\*kwargs: Additional arguments passed to the parent class. :raises ValueError: If `mean` and `std` do not have the same length. :raises ValueError: If any value in `std` is zero (to avoid division by zero). :raises ValueError: If any value in `std` is negative. .. py:attribute:: EPSILON :value: 1e-06 .. py:attribute:: mean .. py:attribute:: std