IntervalMasked.domain_to_normalised

IntervalMasked.domain_to_normalised(values: ndarray) ndarray[source]

Maps from a distribution in [self.min_val, self.max_val] to [0, 1]. If the domain is a single point, the normalised value is 0.