The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



CalcNNOfModelData


Unit: SDL_membl
Class: TMemBasedLearner
Declaration: procedure CalcNNOfModelData;

The method CalcNNOfModelData calculates the table of nearest neighbors (up to a maximum of MBLMAXNEIGHBORS) and their respective distances for all objects in the data model. Please note that the table of nearest neighbors implicitly depends on the properties DistMode and ScalingMode. The variables used for the calculation of the nearest neighbors are given by the property VarType.

The nearest neighbors and their distances can be retrieved by the array properties kNNOfModelData and kNNDistOfModelData.


Last Update: 2023-Feb-06