Options.normalised_to_domain
- Options.normalised_to_domain(values: ndarray) ndarray [source]
Maps from a distribution in [0, 1] to [0, len(self.array)] and is then rounded to serve as indices for discretisation.
- Parameters:
values (np.ndarray) – Values in [0, 1] to map to the domain.
- Returns:
np.ndarray – The discretised values.