[Scipy-tickets] [SciPy] #1349: docstring in spatial.cosine is incorrect

SciPy Trac scipy-tickets@scipy....
Mon Dec 13 07:16:41 CST 2010


#1349: docstring in spatial.cosine is incorrect
---------------------------+------------------------------------------------
 Reporter:  mxf3306        |       Owner:  peridot
     Type:  defect         |      Status:  new    
 Priority:  normal         |   Milestone:  0.9.0  
Component:  scipy.spatial  |     Version:  0.8.0  
 Keywords:  cosine         |  
---------------------------+------------------------------------------------
 The formula to compute cosine distance should be  1 - \frac{uv^T}{||u||_2
 ||v||_2} instead of \frac{1-uv^T} {||u||_2 ||v||_2}.

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


More information about the Scipy-tickets mailing list