[Scipy-tickets] [SciPy] #1278: spatial test 'test_pdist_minkowski_3_2_iris_float32' in test_distance.py fails

SciPy Trac scipy-tickets@scipy....
Sat Sep 25 23:53:24 CDT 2010

#1278: spatial test 'test_pdist_minkowski_3_2_iris_float32' in test_distance.py
 Reporter:  warren.weckesser  |       Owner:  peridot
     Type:  defect            |      Status:  new    
 Priority:  normal            |   Milestone:  0.9.0  
Component:  scipy.spatial     |     Version:  0.7.0  
 Keywords:                    |  

Comment(by warren.weckesser):

 The test passes if eps is changed from 1e-7 to 1e-6.  Several other
 float32 tests on the iris data set use eps=1e-6:
 test_pdist_euclidean_iris_float32      eps = 1e-06
 test_pdist_seuclidean_iris_float32     eps = 1e-05
 test_pdist_cosine_iris_float32         eps = 1e-07
 test_pdist_cityblock_iris_float32      eps = 1e-06
 test_pdist_correlation_iris_float32    eps = 1e-07
 test_pdist_minkowski_3_2_iris_float32  eps = 1e-07 (fail; passes with
 test_pdist_minkowski_5_8_iris_float32  eps = 1e-06
 test_pdist_chebychev_iris_float32      eps = 1e-06
 Any objections to simply changing the tolerance to 1e-6?

Ticket URL: <http://projects.scipy.org/scipy/ticket/1278#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