Click or drag to resize

BackpropagationAdjustWeights Method (Perceptron, Single, Single, Single)

Adjust the weights of the given neuron.

Namespace:  RavingBots.MagicGestures.AI.Neural.Classic
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
private static void AdjustWeights(
	Perceptron neuron,
	float[] neuronInput,
	float learningRate,
	float momentum
)

Parameters

neuron
Type: RavingBots.MagicGestures.AI.Neural.ClassicPerceptron
The neuron to update.
neuronInput
Type: SystemSingle
The neuron's input values. This is the sample's input values for the input layer, and the previous layer's output values for every other layer.
learningRate
Type: SystemSingle
The learning rate parameter.
momentum
Type: SystemSingle
The momentum parameter.
See Also