[Scipy-tickets] [SciPy] #1338: scipy.spatial.distance.pdist should be able to take any sequence as input

SciPy Trac scipy-tickets@scipy....
Sun Jun 12 10:44:15 CDT 2011


#1338: scipy.spatial.distance.pdist should be able to take any sequence as input
---------------------------+------------------------------------------------
 Reporter:  tpikonen       |       Owner:  peridot     
     Type:  enhancement    |      Status:  needs_review
 Priority:  normal         |   Milestone:  Unscheduled 
Component:  scipy.spatial  |     Version:  devel       
 Keywords:  pdist          |  
---------------------------+------------------------------------------------
Changes (by rgommers):

  * status:  new => needs_review
  * milestone:  0.9.0 => Unscheduled


Comment:

 This doesn't look correct.  Since the C code doesn't do striding the
 conversion to C order is needed for all inputs, including the matrices in
 list you want to allow.

 Furthermore this needs tests and an update to the docstring describing
 what inputs are allowed. Finally, if this is done for pdist I think it
 should also be done for cdist.

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


More information about the Scipy-tickets mailing list