Click or drag to resize
Accord.NET (logo)

SOMLearning Constructor (DistanceNetwork, Int32, Int32)

Initializes a new instance of the SOMLearning class.

Namespace:  Accord.Neuro.Learning
Assembly:  Accord.Neuro (in Accord.Neuro.dll) Version: 3.8.0
Syntax
public SOMLearning(
	DistanceNetwork network,
	int width,
	int height
)
Request Example View Source

Parameters

network
Type: Accord.NeuroDistanceNetwork
Neural network to train.
width
Type: SystemInt32
Neural network's width.
height
Type: SystemInt32
Neural network's height.
Exceptions
ExceptionCondition
ArgumentExceptionInvalid network size - network size does not correspond to specified width and height.
Remarks
The constructor allows to pass network of arbitrary rectangular shape. The amount of neurons in the network should be equal to width * height.
See Also