How to scale numpy matrix in Python?
subtract each column's minimum from itself
for each column of the result divide by its maximum
for column 0 of that result multiply by 11-1.5
for column 1 of that result multiply by 5--0.5
add 1.5 to column zero of that result
add -0.5 to column one of that result

You could probably combine some of those steps.
I have this numpy matrix:
x = np.random.randn(700,2)
What I wanna do is scale the values of the first column between that range: 1.5 and 11 and the values of the second column between `-0.5 and 5.0. Does anyone have an idea how I could achieve this? Thanks in advance