Scales a numeric vector to a specific range, typically [0, 1]. This method is sensitive to outliers.
Details
Formula: \(x' = \frac{x - \min(x)}{\max(x) - \min(x)} \times (\text{max\_val} - \text{min\_val}) + \text{min\_val}\)
Scales a numeric vector to a specific range, typically [0, 1]. This method is sensitive to outliers.
Formula: \(x' = \frac{x - \min(x)}{\max(x) - \min(x)} \times (\text{max\_val} - \text{min\_val}) + \text{min\_val}\)