INeuralNetwork.SetUseVectorScalarEx

Syntax

SetUseVectorScalarEx(useScalar: Boolean; layerIndex: Integer): Boolean;

Parameters

useScalar. Indicates whether the algorithm of scalar vector multiplication is used.

layerIndex. Layer index.

Description

The SetUseVectorScalarEx method determines whether to apply the algorithm of scalar multiplication of vectors to calculate the distance between neurons of the specified layer.

Comments

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:

Indexation of the layers is continuous and starts with zero.

Example

The method use is given in the example for INeuralNetwork.SetLearnRateEx.

See also:

INeuralNetwork