Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Optimizing a naive clustering algorithmby oiskuu (Hermit) |
on Apr 15, 2014 at 19:54 UTC ( [id://1082385]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|