Click or drag to resize

PerceptronReset Method

Reset the neuron.

Namespace:  RavingBots.MagicGestures.AI.Neural.Classic
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
internal void Reset(
	Random random,
	Vector2 weightRange
)

Parameters

random
Type: SystemRandom
weightRange
Type: Vector2
Remarks

This method sets every weight to a random one (from the given range), and clears Momentum and Error, thereby forgetting the training.

See Also