Click or drag to resize
Accord.NET (logo)

PerceptronLearningRun Method

Runs learning iteration.

Namespace:  Accord.Neuro.Learning
Assembly:  Accord.Neuro (in Accord.Neuro.dll) Version: 3.8.0
Syntax
public double Run(
	double[] input,
	double[] output
)
Request Example View Source

Parameters

input
Type: SystemDouble
Input vector.
output
Type: SystemDouble
Desired output vector.

Return Value

Type: Double
Returns absolute error - difference between current network's output and desired output.

Implements

ISupervisedLearningRun(Double, Double)
Remarks

Runs one learning iteration and updates neuron's weights in the case if neuron's output is not equal to the desired output.

See Also