Code QuizIntermediate Min-Max Normalization Formula
Locate the math error in this min-max scaling implementation.
Codepython
import numpy as np
x = np.array([10, 20, 30, 40, 50])
# Scale values into the [0, 1] range
normalized = (x - x.min()) / x.max()
print(normalized)
What is the bug in this min-max normalization?