Runs learning iteration.

Namespace:  AForge.Neuro.Learning
Assembly:  AForge.Neuro (in AForge.Neuro.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public double Run(
	double[] input,
	double[] output
)

Parameters

input
Type: array< System..::.Double >[]()[]
Input vector.
output
Type: array< System..::.Double >[]()[]
Desired output vector.

Return Value

Returns squared error (difference between current network's output and desired output) divided by 2.

Implements

ISupervisedLearning..::.Run(array<Double>[]()[], array<Double>[]()[])

Remarks

Runs one learning iteration and updates neuron's weights.

See Also