Single-linkage clustering is one of several methods of hierarchical clustering. It works bottom-up, as an agglomerative method: every element starts in a cluster of its own, and at each step the two clusters that contain the closest pair of elements not yet in the same cluster are combined, until everything is in one cluster. The distance between two clusters is the distance between their single closest pair of elements, one from each, which is why the method is also called nearest neighbour clustering. The result can be drawn as a dendrogram showing the order of merges and the distance at which each happened. The method tends to produce long thin clusters, which can make classes hard to define for some data, but it is popular in astronomy for analysing galaxy clusters, where it is also known as the friends-of-friends algorithm. The naive algorithm is essentially Kruskal's algorithm for minimum spanning trees and takes cubic time; in 1973 R. Sibson proposed SLINK, which runs in quadratic time and linear space.
Facts
Time Complexity
Time Complexity (category)Quadratic Time -- O(n^2) 1 Time Complexity (category) Space Complexity Problem SolvedHierarchical clustering of elements by pairwise distance 1 Sources
1. Single-linkage clustering (Wikipedia)
Faster algorithms
The naive algorithm for single-linkage clustering is easy to understand but slow, with time complexity
Faster algorithms, SLINK
In 1973, R. Sibson proposed an algorithm with time complexity
Faster algorithms, SLINK storage
Storing these functions in two arrays that map each item number to its function value takes space
Lead
single-linkage clustering is one of several methods of hierarchical clustering
In Group: Clustering Algorithms, Lead, hierarchical clustering
single-linkage clustering is one of several methods of hierarchical clustering
View the SourceReader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.