Skip Menu |

This queue is for tickets about the Algorithm-Cluster CPAN distribution.

Report information
The Basics
Id: 36563
Status: resolved
Priority: 0/
Queue: Algorithm-Cluster

People
Owner: Nobody in particular
Requestors: 4757.309159 [...] kabelbw.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Important bug in version 1.38
Date: Sat, 7 Jun 2008 22:17:56 +0200
To: bug-Algorithm-Cluster [...] rt.cpan.org.
From: Jean-Karim Hériché <4757.309159 [...] kabelbw.de>
Hi, Algorithm::Cluster:treecluster seems to be broken in version 1.38. Using perl 5.8.8 (in Mac OS 10.5 and Linux) $A = reference to lower diagonal distance matrix ($tree,$linkdist)=treecluster(data=>$A, method=>'a') returns an empty $linkdist and $tree contains what looks like a random tree with some leaves repeated multiple times. The above works as expected with version 1.37. The documentation doesn't mention any change in behaviour for version 1.38 so I think it's a bug. Thanks J-K
From: mdehoon [...] cpan.org
Thanks for letting me know. This is an error in the documentation, which I should have updated for release 1.38. Instead of ($tree,$linkdist)=treecluster(data=>$A, method=>'a') you should use $result=treecluster(data=>$A, method=>'a') Each row in $result now has three elements, the first two corresponding to the row in $tree and the third one the distance previously stored in $linkdist. I'll fix this in the next release of Algorithm::Cluster. On Sun Jun 08 05:08:58 2008, 4757.309159@kabelbw.de wrote: Show quoted text
> Hi, > > Algorithm::Cluster:treecluster seems to be broken in version 1.38. > Using perl 5.8.8 (in Mac OS 10.5 and Linux) > $A = reference to lower diagonal distance matrix > ($tree,$linkdist)=treecluster(data=>$A, method=>'a') > returns an empty $linkdist and $tree contains what looks like a random > tree with some leaves repeated multiple times. > > The above works as expected with version 1.37. > > The documentation doesn't mention any change in behaviour for version > 1.38 so I think it's a bug. > > Thanks > > J-K
Documentation bug. Will be fixed in release 1.39.