13df2821b6ba455f15483f265e204abdf32e1df1,scipy/spatial/tests/test_distance.py,TestPdist,test_pdist_sokalmichener_match,#TestPdist#,1111

Before Change


        eps = 1e-10
        y1 = pdist(D, "sokalmichener")
        y2 = pdist(D, "test_sokalmichener")
        y3 = pdist(np.bool_(D), "test_sokalmichener")
        if verbose > 2:
            print(np.abs(y1-y2).max())
            print(np.abs(y2-y3).max())

After Change



    def test_pdist_sokalmichener_match(self):
        B = eo["random-bool-data"]
        D = np.double(B)
        if verbose > 2:
            print(D.shape, D.dtype)
        eps = 1e-10
        y1 = pdist(B, "sokalmichener")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 3

Instances


Project Name: scipy/scipy
Commit Name: 13df2821b6ba455f15483f265e204abdf32e1df1
Time: 2016-12-09
Author: apbard@users.noreply.github.com
File Name: scipy/spatial/tests/test_distance.py
Class Name: TestPdist
Method Name: test_pdist_sokalmichener_match


Project Name: scipy/scipy
Commit Name: 13df2821b6ba455f15483f265e204abdf32e1df1
Time: 2016-12-09
Author: apbard@users.noreply.github.com
File Name: scipy/spatial/tests/test_distance.py
Class Name: TestPdist
Method Name: test_pdist_yule_match


Project Name: scipy/scipy
Commit Name: 13df2821b6ba455f15483f265e204abdf32e1df1
Time: 2016-12-09
Author: apbard@users.noreply.github.com
File Name: scipy/spatial/tests/test_distance.py
Class Name: TestPdist
Method Name: test_pdist_jaccard_match


Project Name: scipy/scipy
Commit Name: 13df2821b6ba455f15483f265e204abdf32e1df1
Time: 2016-12-09
Author: apbard@users.noreply.github.com
File Name: scipy/spatial/tests/test_distance.py
Class Name: TestPdist
Method Name: test_pdist_russellrao_match


Project Name: scipy/scipy
Commit Name: 13df2821b6ba455f15483f265e204abdf32e1df1
Time: 2016-12-09
Author: apbard@users.noreply.github.com
File Name: scipy/spatial/tests/test_distance.py
Class Name: TestPdist
Method Name: test_pdist_kulsinski_match


Project Name: scipy/scipy
Commit Name: 13df2821b6ba455f15483f265e204abdf32e1df1
Time: 2016-12-09
Author: apbard@users.noreply.github.com
File Name: scipy/spatial/tests/test_distance.py
Class Name: TestPdist
Method Name: test_pdist_sokalsneath_match


Project Name: scipy/scipy
Commit Name: 13df2821b6ba455f15483f265e204abdf32e1df1
Time: 2016-12-09
Author: apbard@users.noreply.github.com
File Name: scipy/spatial/tests/test_distance.py
Class Name: TestPdist
Method Name: test_pdist_rogerstanimoto_match