a641bbe34a27a72e1523f87b7ace79eb592d8df4,hyperspy/tests/mva/test_onmf.py,,test_default,#,21
Before Change
def test_default():
W, H = onmf(X, r)
assert compare(np.dot(W, H), X.T) < 0.05
def test_corrupted_default():
W, H = onmf(Y, r)
assert compare(np.dot(W, H), X.T) < 0.1
After Change
def test_default():
W, H = onmf(X, r)
res = compare(np.dot(W, H), X.T)
print(res)
assert res < 0.05
def test_corrupted_default():
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: hyperspy/hyperspy
Commit Name: a641bbe34a27a72e1523f87b7ace79eb592d8df4
Time: 2017-02-01
Author: t.ostasevicius@gmail.com
File Name: hyperspy/tests/mva/test_onmf.py
Class Name:
Method Name: test_default
Project Name: hyperspy/hyperspy
Commit Name: a641bbe34a27a72e1523f87b7ace79eb592d8df4
Time: 2017-02-01
Author: t.ostasevicius@gmail.com
File Name: hyperspy/tests/mva/test_onmf.py
Class Name:
Method Name: test_robust
Project Name: hyperspy/hyperspy
Commit Name: a641bbe34a27a72e1523f87b7ace79eb592d8df4
Time: 2017-02-01
Author: t.ostasevicius@gmail.com
File Name: hyperspy/tests/mva/test_onmf.py
Class Name:
Method Name: test_corrupted_robust
Project Name: hyperspy/hyperspy
Commit Name: a641bbe34a27a72e1523f87b7ace79eb592d8df4
Time: 2017-02-01
Author: t.ostasevicius@gmail.com
File Name: hyperspy/tests/mva/test_onmf.py
Class Name:
Method Name: test_corrupted_default