5b66c42def828998e46aa2e48146f9c81b5528f6,pyemma/coordinates/tests/test_tica.py,TestTICAExtensive,test_cov,#TestTICAExtensive#,233
Before Change
assert types.is_int(self.tica_obj.chunksize)
def test_cov(self):
cov_ref = np.dot(self.X.T, self.X) / float(self.T)
assert (np.all(self.tica_obj.cov.shape == cov_ref.shape))
np.testing.assert_allclose(self.tica_obj.cov, cov_ref, atol=5e-2)
def test_cov_tau(self):
After Change
def test_cov(self):
np.testing.assert_allclose(self.tica_obj.cov, self.cov_ref)
np.testing.assert_allclose(self.tica_obj_nr.cov, self.cov_ref_nr)
def test_cov_tau(self):
np.testing.assert_allclose(self.tica_obj_nr.cov_tau , self.cov_tau_ref_nr)
np.testing.assert_allclose(self.tica_obj.cov_tau, self.cov_tau_ref)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: markovmodel/PyEMMA
Commit Name: 5b66c42def828998e46aa2e48146f9c81b5528f6
Time: 2017-05-07
Author: feliks.nueske@fu-berlin.de
File Name: pyemma/coordinates/tests/test_tica.py
Class Name: TestTICAExtensive
Method Name: test_cov
Project Name: markovmodel/PyEMMA
Commit Name: 5b66c42def828998e46aa2e48146f9c81b5528f6
Time: 2017-05-07
Author: feliks.nueske@fu-berlin.de
File Name: pyemma/coordinates/tests/test_tica.py
Class Name: TestTICAExtensive
Method Name: test_cov_tau
Project Name: nilearn/nilearn
Commit Name: 135137e76e96c27f6fa91ba642a08d5f5b781604
Time: 2013-08-26
Author: philippe.gervais@inria.fr
File Name: nilearn/tests/test_group_sparse_covariance.py
Class Name:
Method Name: test_group_sparse_covariance