C# Class AForge.Neuro.Learning.BackPropagationLearning

Back propagation learning algorithm
The class implements back propagation learning algorithm, which is widely used for training multi-layer neural networks with continuous activation functions.
Inheritance: ISupervisedLearning
Show file Open project: holisticware-admin/MonoVersal.AForgeNET Class Usage Examples

Public Methods

Method Description
BackPropagationLearning ( ActivationNetwork network ) : System

Initializes a new instance of the BackPropagationLearning class.

Run ( double input, double output ) : double

Runs learning iteration.

Runs one learning iteration and updates neuron's weights.

RunEpoch ( double input, double output ) : double

Runs learning epoch.

The method runs one learning epoch, by calling Run method for each vector provided in the input array.

Private Methods

Method Description
CalculateError ( double desiredOutput ) : double

Calculates error values for all neurons of the network.

CalculateUpdates ( double input ) : void

Calculate weights updates.

UpdateNetwork ( ) : void

Update network'sweights.

Method Details

BackPropagationLearning() public method

Initializes a new instance of the BackPropagationLearning class.
public BackPropagationLearning ( ActivationNetwork network ) : System
network ActivationNetwork Network to teach.
return System

Run() public method

Runs learning iteration.

Runs one learning iteration and updates neuron's weights.

public Run ( double input, double output ) : double
input double Input vector.
output double Desired output vector.
return double

RunEpoch() public method

Runs learning epoch.

The method runs one learning epoch, by calling Run method for each vector provided in the input array.

public RunEpoch ( double input, double output ) : double
input double Array of input vectors.
output double Array of output vectors.
return double