No such thing as a small change | |
PerlMonks |
Re^4: Clustering Numbers with Overlapping Membersby monkfan (Curate) |
on Aug 07, 2006 at 14:35 UTC ( [id://565958]=note: print w/replies, xml ) | Need Help?? |
Hofmator, One more small thing. Hope you won't mind to look at it. I should add that when the very first element doesn't have its neighbour then it forms another cluster. In other words we ignore the first element only when it has neighbour within tolerance. So for example: How can I modify your code to accomodate this? Update: I think I got it.
Regards, Edward
In Section
Seekers of Perl Wisdom
|
|