Module scaling

Source
Expand description

Data scaling and normalization utilities

This module provides various methods for scaling and normalizing data to improve the performance of machine learning algorithms. It includes standard normalization (z-score), min-max scaling, and robust scaling that is resistant to outliers.

Traits§

StatsExt
Trait extension for Array1 to calculate mean and standard deviation

Functions§

min_max_scale
Performs Min-Max scaling to scale features to a specified range
normalize
Helper function to normalize data (zero mean, unit variance)
robust_scale
Performs robust scaling using median and interquartile range