This is a more conceptual question, but I have to confess I have been dealing with it for a while.
Suppose you want to train a neural network (NN), using for instance keras. As it is recommended you perform previous to the training a normalization or standardization of the data, so, for instance, with a standardization:
x_new = (x_old - mean)/standarddev
Then, you carry on the training (model.fit in keras) and minimize the loss function, all very nice.
Edit: In my case, I have a set of values between 200 and 400. It's a NN with 1 input, 1 output. I standardize as told, the input values AND the expected values, so the NN learns the weights and biases in a standardized way.
Now, imagine that I have a completely new dataset of values between 200 and 400 and I want to predict an output, using the NN with the previous training. You can use model.predict(x) in keras, with x the completely new set of values I have received, standardized (or normalized) because your NN was trained in that way. But then, what I get, after the predict is an array of values standardized, but I want to map them to the usual range of 200 to 400. And I don't know how to do this.
I know you can carry on the training without normalizing or standardizing, but I have read that if you standardize (or normalize), with values in the range of the output of the units (neurons) (for instance, between 0 and 1 for a sigmoid), the training improves.
Thank you.
xarray of inputs and anyarray of outputs, with values between 200 and 400. They are both normalized and the training performed. After that I have a new array,x_2, with values between 200 and 400, and I want to predict an outcome usingpredictin keras. The problem is that the NN have been trained in a normalized way. If I normalize this new arrayx_2what I get, let's call it,y_2is normalized, and what I want is denormalize, to get values between 200 and 400.