Generalization in the ANN

1 view (last 30 days)
Rita
Rita on 21 Oct 2016
Edited: Rita on 26 Oct 2016
A network was created with 2000 records and aslo 5 networks were created with 400 records for each of them.(Note that the input data with 2000 records was divided to build 5 individual networks)Now the performance of each subnetworks is better than larg networks with 2000 records.Can we conclude that the larg network learnt too much from the examples given during the training, thus loosing the capability to generalize on the basis of new examples (overfitting)? but the small networks performed better because they had the less training records? Thanks a lot for any advice.

Answers (1)

Greg Heath
Greg Heath on 22 Oct 2016
> Can we conclude that the larger network learnt too much from the examples given during the training, thus loosing the capability to generalize on the basis of new examples (overfitting)? but the small networks performed better because they had the less training records?
ABSOLUTELY NOT!
Results heavily depend on how the data is divided. For example: randomly vs by sections.
You apparently misunderstand the concepts of overfitting and overtraining:
OVERFITTING: There are more unknown weights than training equations. This allows an infinite number of minima for training data ( How many solutions {x1,x2} are there for the problem x1+x2 = 1 ?!) which are not minima for nontraining (i.e., validation and testing) data.
OVERTRAINING: Training an overfit network beyond the point where performance on NONTRAINING data begins to deteriorate.
As long as all data is representative of the general I/O mapping, the more data, the better. That is why random datadivision is the default in MATLAB NN training programs.
Hope this helps.
Thank you for formally accepting my answer
Greg
  3 Comments
Greg Heath
Greg Heath on 26 Oct 2016
No: IF the data are representative of the general I/O mapping.
This is easy to check:
Compare the performance of each net on all of the data.
Rita
Rita on 26 Oct 2016
Edited: Rita on 26 Oct 2016
Unfortunately, the performance of nets(5nets) with all of the data was not good.I also tried to examine the performance of each small nets with the data of each year and the results were not good too.so it seems that something wrong with data or nets?? Thanks again Greg

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!