View on GitHub

Bearded-android-docs

BatchModeBackPropagation

Download this project as a .zip file Download this project as a tar.gz file

Created Thursday 12 December 2013

Step 0. Pick values for the learning and momentum parameters.

Step 1. Initialize the weights.

Step 2. Go through each training example:

Step 3. Apply the backprop formula to each weight using its cumulative learning term and momentum term. Make sure to store the values of the previous weights.
Step 4. Construct the error function from the training examples.

Step 5. Repeat steps 2--4 until the error is smaller than a pre-selected value. If the error never converges, pick new backpropagation parameters and restart from Step 0.

Notes:

  1. Its called the backpropagation algorithm because you start from the output layer (Steps 2b and c) and work backwards to the input layer.
  2. Steps 2--4 are one iteration of the backpropagation algorithm.
  3. A common mistake is adjust the weights before cycling through all the examples. You need to calculate a weight's cumulative learning term (from all the examples) before updating it.
  4. Stuck? Read the +Troubleshooting page

Required Memory and Data Structures

You'll need data structure(s) to store:


Backlinks:

MachineLearning:NeuralNetworks:BackPropagation:BackPropAlgorithms MachineLearning:NeuralNetworks:BackPropagation
comments powered by Disqus