deads / scipy-cluster

Automatically exported from code.google.com/p/scipy-cluster
Other
0 stars 0 forks source link

Canberra distance broken #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using hcluster.pdist with the Canberra distance does not work as the input
matrix is converted to bool instead of double.

See the patch for a fix.

P.S. Thanks for a great package.

Original issue reported on code.google.com by joonas.p...@gmail.com on 1 Aug 2008 at 12:03

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for finding this bug. It's been fixed in both scipy-cluster and scipy. A 
unit
test will go in Scipy shortly.

Damian

Original comment by damian.e...@gmail.com on 4 Aug 2008 at 7:50