How do you de-normalize?

Once you normalize your data so that the values ​​are between 0-1, how do you de-normalize it so you can interpret the result?

So when you normalize your data and feed it to your network and you get a result that is normalized. How can I change the normalization to get the raw data?

+3


source to share


1 answer


If you have data d

you normalize to 0-1 by doing (something like)

min_d = np.min(d)
max_d = np.max(d)
normalized_d = (d - min_d) / (max_d - min_d)

      



you can de-normalize this by inverting the normalization. In this case

denormalized_d = normalized_d * (max_d - min_d) + min_d

      

+3


source







All Articles