apaClustering.DBSCAN(DataMatrix, Epsilon, MinPoints)
=apaClustering.DBSCAN(DataMatrix, Epsilon, MinPoints)Result
Clustering with the DBSCAN algorithm. Returns a 1 x c row of cluster labels: -1 for noise points, clusters numbered from 0.
Syntax
DataMatrix: r x c data matrix. Objects are in columns, features in rows.
Epsilon: neighborhood radius (Euclidean distance); must be positive
MinPoints: minimum number of points within distance Epsilon, including the point itself, for a point to be a core point; integer, at least 1
Remarks
A good first guess for Epsilon is half the median Euclidean distance between all data points.
The labels follow the scikit-learn convention. apaClustering.CDC numbers clusters from 1 and has no noise label.
Pressing Esc aborts the calculation; the function then returns "Calculation aborted by user."
