SetUseVectorScalarEx(useScalar: Boolean; layerIndex: Integer): Boolean;
useScalar. Indicates whether the algorithm of scalar vector multiplication is used.
layerIndex. Layer index.
The SetUseVectorScalarEx method determines whether to apply the algorithm of scalar multiplication of vectors to calculate the distance between neurons of the specified layer.
The method is used only for Kohonen self-organizing networks and returns the previous value of the useScalar parameter. Available values of the useScalar parameter:
True. Algorithm of scalar vector multiplication is used.
False. Euclidean distances are used.
Indexation of the layers is continuous and starts with zero.
The method use is given in the example for INeuralNetwork.SetLearnRateEx.
See also: