Cycling through training data in Backpropagation Neural Networks algorithm

How many times do I use sample training data in one training cycle? Say I have 60 training data. I go through the 1st row and do the front pass and adjust the balance using the results of the back pass. Using the sigmoid function as shown below:

Forward pass Si = sum of (Wi * Uj) Ui = f(Si) = 1 / 1 + e^ - Si Backward pass Output Cell = (expected -Ui)(f'(Si)), where f'(Si) = Ui(1-Ui) 

Then I go to the second line and do the same process as the first, or am I going around the first line while the error is less?

I hope someone can help

+8
artificial-intelligence neural-network backpropagation
source share
1 answer

Network training

You must use each instance of the training set once per school age.

The learning age is a complete cycle through your data set.

After you are fixated on a data set and calculated a delta, you should configure network scales. You can then complete a new anterior neural network pass and do another training era by going through your training dataset.

Graphical representation
A really great graphical representation of backpropagation can be found here.


One-step training

There are two approaches to training a network to perform classification in a dataset. The simplest method is called one-step or online learning. This is the method you'll find in most litters, and it also converges faster. When you train your network, you will calculate the delta for each layer and adjust the weights for each instance of your dataset.

Thus, if you have a data set of 60 copies, this means that you had to adjust the scales 60 times before the end of the school age.

Batch training

Another approach is called batch learning or offline learning. This approach often gives a network with a lower residual error. When you train the network, you must calculate the delta for each layer for each instance of the dataset, and then finally average the individual deltas and correct the scales once per era.

If you have a dataset of 60 copies, this means that you had to adjust the weights once before the end of the school age.

+5
source share

All Articles