MaskedMinMaxScaler
- class aixd.data.transform.MaskedMinMaxScaler(target_range: tuple = (0, 1), per_column: bool = True, scale_inverse_masked: bool = True)[source]
- Bases: - MinMaxScaler- Implements min-max scaling of the data with a masked domain. I.e., the masked values are not considered in the min-max computation, and not scaled. - Parameters:
- target_range (tuple, default=(0, 1)) – The target range for the scaling. 
- per_column (bool, default=True) – If set normalization is performed per column for multi-dim DataObjects. 
- scale_inverse_masked (bool, default=True) – If set, the inverse transformation will scale the masked values, otherwise they are kept as they are. See notes for more details. 
 
 - Notes - Since masked values are not considered in the min-max computation, more than one value can be mapped to the same value in the target range, making the inverse transformation ambiguous. The argument scale_inverse_masked controls this behavior. If set, the inverse transformation will scale the masked values, otherwise they are kept as they are. - Methods - Inverse transform of the input. - Transforms the input. - Inherited Methods - Copies the transformation. - Fits the transformation. - Fits and transforms the input. - Returns true if transformation strategy is fitted. - Method to implement to reset fitted values.