Example #1
0
 def test_wu(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.wu[0][0], -10.681344941514411, RTOL)
Example #2
0
 def test_utwyDs(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.utwyDs[0][0], 5.475255215067957, RTOL)
Example #3
0
 def test_utwuDs(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.utwuDs[0][0], 8.3941977502916068,
                                RTOL)
Example #4
0
 def test_trA(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.trA, 1.5880426389276328, RTOL)
Example #5
0
 def test_t(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.t, 22.751186696900984, RTOL)
Example #6
0
 def test_j(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.j[0][0], 0.62330311259039439, RTOL)