8000 "Kulsinski" dissimilarity seems wrong (Trac #1484) · Issue #2009 · scipy/scipy · GitHub
[go: up one dir, main page]

Skip to content
"Kulsinski" dissimilarity seems wrong (Trac #1484) #2009
@scipy-gitbot

Description

@scipy-gitbot

Original ticket http://projects.scipy.org/scipy/ticket/1484 on 2011-07-28 by trac user muellner, assigned to trac user peridot.

The "Kulsinski" dissimilarity in the module scipy.spatial.distance seems wrong.

First, the function does not do what the documentation

http://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.distance.kulsinski.html#scipy.spatial.distance.kulsinski

says: it always returns integer values. Maybe this is a forgotten float(...) in scipy/spatial/distance.py, line 421.

Second, the definition does not agree what I find elsewhere on the net. Compare

http://genome.jouy.inra.fr/doc/genome/statistiques/R-2.6.0/library/prabclus/html/kulczynski.html

and

http://sysbio.oxfordjournals.org/content/55/1/170.full

Can someone please check whether the SciPy definition makes sense and/or is intenionally different from the definition found in R?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Migrated from TracdefectA clear bug or issue that prevents SciPy from being installed or used as expectedscipy.spatial

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0