qualia_core.preprocessing.Normalize module
- class qualia_core.preprocessing.Normalize.Normalize(method: str = 'z-score', axis: tuple[int, ...] = (0,), debug: bool = False)[source]
Bases:
Preprocessing
[RawDataModel
,RawDataModel
]- z_score(dataset: RawDataModel) RawDataModel [source]
- min_max(datamodel: RawDataModel) RawDataModel [source]
- methods: ClassVar[dict[str, Callable[[Self, RawDataModel], RawDataModel]]] = {'min-max': <function Normalize.min_max>, 'z-score': <function Normalize.z_score>}