[Scipy-tickets] [SciPy] #443: kmeans2 does not work when init parameter is an array of size 1

SciPy scipy-tickets@scipy....
Thu Jun 7 10:59:51 CDT 2007


#443: kmeans2 does not work when init parameter is an array of size 1
---------------------------+------------------------------------------------
 Reporter:  cdavid         |       Owner:  cdavid                                
     Type:  defect         |      Status:  new                                   
 Priority:  normal         |   Milestone:  pymachine: cleaning existing toolboxes
Component:  scipy.cluster  |     Version:                                        
 Severity:  major          |    Keywords:                                        
---------------------------+------------------------------------------------
 kmeans2 has a bug in its interface: the init parameter is interpreted as
 the number of clusters to look for if a scalar, and as init values
 otherwise. But if we want kmean in 1 dimension with one cluster, this does
 not work.

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


More information about the Scipy-tickets mailing list