필터 지우기
필터 지우기

Is possible to normalize just the training data instead of the whole data using Neural Network toolbox?

조회 수: 2 (최근 30일)
Using the Matlab functions, it is possible to normalize the input and output data that will feed the Neural Network. However, is possible to just normalize the training data instead of the whole data set? Is this a better approach than normalizing the whole data?

채택된 답변

Greg Heath
Greg Heath 2015년 11월 17일
The normalization parameters ARE obtained from the training subset; then applied to all of the data.
So, you have no problem!
Hope this helps.
Greg
  댓글 수: 1
Anderson
Anderson 2015년 11월 30일
Hi Greg,
I have seen that using the same data and random division of the training, validation and testing sets I always get the same parameters for the [-1,1] mapping (mapminmax) in the generated neural network file. It sounds that the mapping mapminmax is doing it for the whole data instead of just for the training set. Is there a way to fix this?

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Greg Heath
Greg Heath 2015년 11월 16일
No.
Why would you want to do it?
It doesn't make any sense to me.
Greg
  댓글 수: 2
Anderson
Anderson 2015년 11월 16일
Hi Greg,
I have read that, in order to have a general neural network, the normalization parameters should come from the training set instead of the whole data available. Is it correct? Or is the normalization of the whole data better? Why?
Thank you!

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by