A clustering of 1-D data gives cluster 1 and cluster 2 . What are the silhouette values of the points and , and what do they tell you?
Unsupervised learning, Clustering
Level L2 Elementary. Length Short. Nature Mat Mathematical.
What's being asked
Whether you can compute the two average distances in the silhouette formula and interpret the result.
Key idea
For a point , is its mean distance to the other points in its own cluster, and is its mean distance to the points of the nearest other cluster. The silhouette is , which lies between and 1. Near 1 means well clustered, near 0 means on a boundary, and negative means probably in the wrong cluster.
Steps
- Point 2: its only cluster-mate is 0, so . Its mean distance to cluster 2 is . So .
- Point 6: and . So .
- Interpret: both values are positive, so both points sit in the right cluster. Point 6 is less clearly placed, because it is at the edge of cluster 2 nearest to cluster 1.
- Add that the average silhouette over all points summarises the whole clustering and can be compared across different .
Common mistakes
- Including the point itself (distance 0) when computing .
- Using the distance to the other cluster's centre instead of the mean distance to its points.
- Always dividing by . The denominator is .
How long your answer should be
Two lines of arithmetic and one sentence of interpretation.
Last checked on 4 December 2026.
Read this
Previous in Unsupervised learning: Five 1-D points are , , , and . With agglomerative clustering, what merges and merge heights do (a) single linkage and (b) complete linkage give, and how do the two linkages differ in practice?
Next in Unsupervised learning: Six records have three categorical attributes: , , , , , . Run k-modes with from initial modes and , using the simple matching dissimilarity. What are the clusters, the new modes and the total cost?