[Scipy-tickets] [SciPy] #862: ERROR: Testing that kmeans2 init methods work.

SciPy scipy-tickets@scipy....
Sun Feb 1 09:34:59 CST 2009


#862: ERROR: Testing that kmeans2 init methods work.
---------------------------+------------------------------------------------
 Reporter:  nils           |       Owner:  somebody
     Type:  defect         |      Status:  new     
 Priority:  normal         |   Milestone:  0.8.0   
Component:  scipy.cluster  |     Version:  devel   
 Severity:  normal         |    Keywords:          
---------------------------+------------------------------------------------
 python2.6 and
 {{{
 >>> scipy.__version__
 '0.8.0.dev5530'
 }}}

 scipy.test()
 {{{
 ======================================================================
 ERROR: Testing that kmeans2 init methods work.
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/nwagner/local/lib64/python2.6/site-
 packages/scipy/cluster/tests/test_vq.py", line 147, in test_kmeans2_init
     data = data.reshape((200, 2))
 ValueError: total size of new array must be unchanged

 ======================================================================
 ERROR: Testing simple call to kmeans2 with rank 1 data.
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/nwagner/local/lib64/python2.6/site-
 packages/scipy/cluster/tests/test_vq.py", line 127, in test_kmeans2_rank1
     data = data.reshape((200, 2))
 ValueError: total size of new array must be unchanged

 ======================================================================
 ERROR: Testing simple call to kmeans2 with rank 1 data.
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/nwagner/local/lib64/python2.6/site-
 packages/scipy/cluster/tests/test_vq.py", line 139, in
 test_kmeans2_rank1_2
     data = data.reshape((200, 2))
 ValueError: total size of new array must be unchanged

 ======================================================================
 ERROR: This will cause kmean to have a cluster with no points.
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/nwagner/local/lib64/python2.6/site-
 packages/scipy/cluster/tests/test_vq.py", line 96, in
 test_kmeans_lost_cluster
     data = data.reshape((200, 2))
 ValueError: total size of new array must be unchanged
 }}}

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


More information about the Scipy-tickets mailing list