1
$\begingroup$

Hello how would I get the value back after I normalise the data ?

Currently I am taking my list of numbers and doing $\frac{\text{Val} - \text{Min}}{\text{Max} - \text{Min}}$ on each of the numbers. With gives me a number from $1$ to $0$; But how would i revert this back to the original. I have tried $(\text{Val} + \text{Min}) \cdot (\text{Max} + \text{Min})$ this is probably really simple but I have become unstuck en and it kind of annoying me now.

$\endgroup$
1
  • $\begingroup$ val*(max-min)+min $\endgroup$ May 9 '18 at 0:54
1
$\begingroup$

Multiply each number in your list by $(\max-\min)$ and then add min to it. :)

$\endgroup$
4
  • $\begingroup$ O okay thank you i have solved it. Much appreciated. $\endgroup$ May 9 '18 at 1:03
  • $\begingroup$ You are welcome. And welcome to MSE! Hope we can still help you in the future. $\endgroup$
    – Macrophage
    May 9 '18 at 1:08
  • $\begingroup$ $$ \begin{align} & \max\text{-}\min \\ & \max - \min \end{align} $$ $+1. \quad$ However, your minus sign looked like a hyphen (as in the first line above) rather than like a minus sign, so I edited your answer to correct that. $\qquad$ $\endgroup$ May 9 '18 at 3:12
  • 1
    $\begingroup$ @MichaelHardy Thank you, now the answer looks neat! $\endgroup$
    – Macrophage
    May 9 '18 at 4:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.