Home   >   User Resources   >   Online Help   >   apakNearestNeighbour.Distances.k.Sorted
 

 

Function index Version 3.0.0

apakNearestNeighbour.Distances.k.Sorted(k, DataMatrix)

Excel=apakNearestNeighbour.Distances.k.Sorted(k, DataMatrix)

Result

Returns the distances of the data points to their k-th nearest neighbor, sorted in ascending order. To calibrate DBSCAN, use k = MinPoints - 1 (see apaClustering.DBSCAN.Epsilon).

Syntax

k: rank of the neighbor, between 1 and c - 1

DataMatrix: r x c data matrix

Remarks

Pressing Esc aborts the calculation; the function then returns "Calculation aborted by user."