问题
How does one return original data scale after normalising input data for the neural net. Normalising was made with the standard deviation method. But the problem has already discussed, it belongs to returning same values for each neural net input. I've followed the advice and normalised data. Are there very obvious ways how to get adequate (which are different from each other) predictions for non-normalised data?
But being normalised inputs demonstrate relatively acceptable output results (predictions). But it seems to result in overfitting. So, how to avoid overfitting?
回答1:
If you have also standardized your targets using:
y - mean(y)
y' = -----------
stdev(y)
Then you just have to solve the above for y
:
y = y' * stdev(y) + mean(y)
And replace y
with what your neural networks predicts.
For classification, you shouldn't standardize the targets. For regression, you should.
Your question is not clear about the overfitting part in its current form.
来源:https://stackoverflow.com/questions/32320090/how-to-denormalise-de-standardise-neural-net-predictions-after-normalising-inp