필터 지우기
필터 지우기

Problems with outputs in Neural Networks (in Matlab NN toolbox)

조회 수: 4 (최근 30일)
mmenvo
mmenvo 2013년 12월 14일
답변: Greg Heath 2013년 12월 15일
Hi, I trained my ANN (in Matlab) with 652500 data points, and in another blind test (652100 data points -for completely new input data sets) the output is excellent (as i want). But the problem occurs when i insert very less amount of data (for example below 50 data points). The output is quite unexpected,i checked it many times.
To be more precise, The training phase contains 10% data for training, 45 % for validation and 45% for testing. The training is quite successful, and for large amount of new input data it works very well. The problem is when very limited data (Compared to training data points) are inserted in the NN, it shows quite unrealistic output, beyond the range on what it was trained.
Why is this so? Could anyone light some sheds on this please?.
Also mention please, is there any strict (hard and fast) rules on training and final testing data points. For example: what percent of training data should be / must be introduced in the new input data sets. I guess the problem is my network overestimate or underestimate the output as very less percentage of data it receives as compared to training phase.

채택된 답변

Greg Heath
Greg Heath 2013년 12월 15일
You are experiencing the result of overtraining an overfit network.
Training, Validation and Test subsets should, each, be large enough to adequately represent the dominant characteristics of the population.
For I-dimensional inputs, O-dimensional outputs and a single hidden layer net with H nodes, there will be
Ntrneq = Ntrn*O training equations to solve for Nw = (I+1)*H+(H+1)*O unknown weights
If Ntrn < Nw/O, then any solution is not unique. Consequently, the resulting net should not be expected to perform well on nontraining data. Unraveling the inequality, Ntrn >= Nw/O if and only if
H <= Hub = -1 + ceil( (Ntrneq-O) / (I+O+1) ) % upper bound
I have posted many, many posts using this logic to successfully design nets. Search on
greg Hub
Thank you for formally accepting my answer
Greg

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by