ecc718f66d09caf1003dae3d2b510f6745170c82,tests/test_wpe.py,TestWPE,test_filter_operation_v1_vs_v4,#TestWPE#,64
Before Change
def test_filter_operation_v1_vs_v4(self):
T = np.random.randint(10, 100)
D = np.random.randint(2, 8)
K = np.random.randint(3, 5)
delay = np.random.randint(0, 2)
Y = np.random.normal(size=(D, T)) + 1j * np.random.normal(size=(D, T))
filter_matrix_conj = np.random.normal(size=(K, D, D)) \
+ 1j * np.random.normal(size=(K, D, D))
a = wpe.perform_filter_operation(Y, filter_matrix_conj, K, delay)
After Change
tc.assert_allclose(actual, desired)
def test_filter_operation_v1_vs_v4(self):
filter_matrix_conj = np.random.normal(size=(self.K, self.D, self.D)) \
+ 1j * np.random.normal(size=(self.K, self.D, self.D))
desired = wpe.perform_filter_operation(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances
Project Name: fgnt/nara_wpe
Commit Name: ecc718f66d09caf1003dae3d2b510f6745170c82
Time: 2017-07-05
Author: ldrude@mail.uni-paderborn.de
File Name: tests/test_wpe.py
Class Name: TestWPE
Method Name: test_filter_operation_v1_vs_v4
Project Name: fgnt/nara_wpe
Commit Name: ecc718f66d09caf1003dae3d2b510f6745170c82
Time: 2017-07-05
Author: ldrude@mail.uni-paderborn.de
File Name: tests/test_wpe.py
Class Name: TestWPE
Method Name: test_filter_operation_v1_vs_v4
Project Name: scipy/scipy
Commit Name: d9934d50ff970150978c29b393b66ab73dfe6247
Time: 2014-05-15
Author: andyfaff@gmail.com
File Name: scipy/optimize/_differentialevolution.py
Class Name: DifferentialEvolutionSolver
Method Name: _randtobest1exp
Project Name: fgnt/nara_wpe
Commit Name: ecc718f66d09caf1003dae3d2b510f6745170c82
Time: 2017-07-05
Author: ldrude@mail.uni-paderborn.de
File Name: tests/test_wpe.py
Class Name: TestWPE
Method Name: test_correlations_narrow_v1_vs_v5