The dataset does not seem that large that one couldn't start with a distance matrix (or half-matrix, distance being commutative).
Wikipedia links: Hierarchical clustering, Single-linkage clustering. CPAN gives this (among others): Algorithm::Cluster.
Is a pure perl solution expected?
In reply to Re: Optimizing a naive clustering algorithm
by oiskuu
in thread Optimizing a naive clustering algorithm
by BUU
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |