[Scipy-tickets] [SciPy] #1484: "Kulsinski" dissimilarity seems wrong

SciPy Trac scipy-tickets@scipy....
Thu Jul 28 12:50:02 CDT 2011


#1484: "Kulsinski" dissimilarity seems wrong
----------------------+-----------------------------------------------------
 Reporter:  muellner  |       Owner:  somebody   
     Type:  defect    |      Status:  new        
 Priority:  normal    |   Milestone:  Unscheduled
Component:  Other     |     Version:  0.9.0      
 Keywords:            |  
----------------------+-----------------------------------------------------
 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?

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1484>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list