Advertisement

Training order

Started by April 06, 2006 05:29 AM
2 comments, last by Timkin 18 years, 7 months ago
Hi, does order of training data matter when training a neural network? Alex
Yes.

Consider two entries in your training table, A and B.
You could either train with B then A (i) or train with A then B (ii). Let's say B gives you an error of zero.

(i)
Training with B would leave the net unchanged. Then training with A would adjust the weights.

(ii)
Training with A would adjust the weights, leading to some error in B. Therefore the weights will be adjusted again when you train on B and your net will be different from (i)
Advertisement
How is it best to organize the order of data then?
If the data are i.i.d (independent, identically distributed) samples drawn from the domain, then you should be able to present them in any order. If you want to really ensure that you don't learn spurious correlations, present them randomly with a different order each batch iteration.

This topic is closed to new replies.

Advertisement