A 2-D dataset has two clusters: 50 points evenly spaced on a circle of radius 1 and 200 points evenly spaced on a circle of radius 5, both centred at the origin. (a) Can fuzzy c-means with separate the two rings? (b) Can DBSCAN, and which values of and MinPts work, which fail, and why?
Unsupervised learning, Clustering
Level L3 Intermediate. Length Medium. Nature Th+Mat Both.
What's being asked
Whether you understand that centre-based clustering splits space with straight boundaries between centres, while density-based clustering follows chains of nearby points, and whether you can pick DBSCAN settings from the geometry.
Key idea
Fuzzy c-means (FCM) gives each point a membership in each cluster , based only on distances to the cluster centres ; point belongs more to exactly when it is closer to . So the hard split is a straight line, which cannot separate nested rings. DBSCAN joins points that have enough neighbours within radius . It separates the rings when is larger than the spacing along each ring (about 0.16) but smaller than the gap between the rings (4), and MinPts is small enough that the ring points count as core points.
Steps
- Measure the geometry first, because every parameter choice depends on it. Spacing along the inner ring: . Along the outer ring: . Gap between the rings: .
- (a) FCM minimises , where controls fuzziness. Its memberships satisfy . So exactly where , which is a straight line (the perpendicular bisector of the two centres).
- Finish (a). No straight line can put the whole inner ring on one side and the whole outer ring on the other, because the inner ring lies inside the outer one. So FCM cannot separate them. (If both centres sit at the origin, every membership is 0.5, which is useless.) The answer is no, unless you change the features, for example to the radius .
- (b) Explain DBSCAN's parameters: a point is a core point if at least MinPts points (counting itself) lie within distance ; clusters are chains of core points within of each other. Points that are not reached are noise.
- A setting that works: , MinPts . On the inner ring the straight-line distance to the -th neighbour along the ring is , which is at most 0.5 for , so each point has points in range. On the outer ring the distance is for , giving 7. Every point is a core point, each ring is one chain, and the gap of 4 is far larger than . Result: two clusters.
- Settings that fail. is below both spacings, so no point has a neighbour and, with MinPts , everything is noise. exceeds the gap of 4, so inner points reach outer points and the rings merge into one cluster. with MinPts fails because neighbourhoods hold only 9 (inner) and 7 (outer) points, so there are no core points and everything is noise.
Common mistakes
- Saying FCM can separate the rings “because memberships are soft”. Soft memberships do not change the straight shape of the boundary.
- Picking without comparing it with both the spacing along a ring and the gap between rings.
- Not saying whether MinPts counts the point itself. scikit-learn's convention does.
How long your answer should be
About half a page: one paragraph for FCM and three parameter settings for DBSCAN; 4–5 minutes.
Last checked on 4 December 2026.
Read this
Previous in Unsupervised learning: Normal data in 2-D is modelled as a Gaussian with mean and covariance . What is the squared Mahalanobis distance of and of , which is anomalous at the 1% level, and would a model that treats the two features as independent Gaussians notice the difference?
Next in Unsupervised learning: How do you compute PCA from the singular value decomposition (SVD) of the centred data matrix , how are the principal directions, variances and projected coordinates read off it, and why is the SVD route preferred in practice?