0
$\begingroup$

I have a collection of 2D points in Euclidean space which I want to cluster.

However, I want to ensure that in the clusters generated, they are at least a fixed distance away from one another (meaning points that are very close to one another will be guaranteed to be in a single cluster).

I have tried K-Means but it only minimises the intra-cluster sum-of-squares, rather than guaranteeing a minimum distance between clusters. Is there a variant (of K-means) or other clustering algorithms that exists?

$\endgroup$

1 Answer 1

1
$\begingroup$

You want DB scan.

http://scikit-learn.org/stable/auto_examples/cluster/plot_dbscan.html

You also need to choose the number of neighbors which qualify a point as a node.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.