powered by
Min-max normalization (also feature rescaling)
unit_normalization(x)
A numeric vector rescaled in the range \(x' \in [0, 1]\)
numeric, vector of values to rescale
x <- 5:100 x_scaled <- unit_normalization(x) x_scaled
Run the code above in your browser using DataLab