All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class BrainWave.BackProp.BPLearn

java.lang.Object
   |
   +----java.awt.Component
           |
           +----BrainWave.BWObject
                   |
                   +----BrainWave.BWButton
                           |
                           +----BrainWave.BackProp.BPLearn

public class BPLearn
extends BWButton
Button that implements the Backpropagation learning algorithm.

Each cycle of the algorithm involves the following steps:

  1. Instantiate the current pattern.
  2. Feedforward these activations to calculate the output of the network.
  3. Calculate the errors on each of the output units by comparing the current output with the target output specified in the Output set.
  4. Feedback the errors to calculate Delta values for each of the units. The Delta value is essentially how much that unit is to blame for the errors.
  5. Update the weights based on the current Deltas and activations of the from units.
Version:
2.0
Author:
Simon Dennis

Constructor Index

 o BPLearn()

Method Index

 o actionPerformed(ActionEvent)
 o activate()
 o getNumberOfCycles()
 o getTotalCycles()
 o getTotalError()
 o setupMenu()

Constructors

 o BPLearn
 public BPLearn()

Methods

 o getNumberOfCycles
 public int getNumberOfCycles()
 o getTotalCycles
 public int getTotalCycles()
 o getTotalError
 public double getTotalError()
 o activate
 public void activate()
Overrides:
activate in class BWButton
 o setupMenu
 public void setupMenu()
Overrides:
setupMenu in class BWButton
 o actionPerformed
 public void actionPerformed(ActionEvent evt)
Overrides:
actionPerformed in class BWButton

All Packages  Class Hierarchy  This Package  Previous  Next  Index