How to denormalise (de-standardise) neural net predictions after normalising input data

霸气de小男生 提交于 2019-12-10 11:59:57

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!