Esempio n. 1
0
 def test_utwuDs(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_array_almost_equal(cache.utwuDs[0][0],
                                          8.3941977502916068,
                                          decimal=6)
Esempio n. 2
0
 def test_t(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_array_almost_equal(cache.t,
                                          22.751186696900984,
                                          decimal=6)
Esempio n. 3
0
 def test_trA(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_array_almost_equal(cache.trA,
                                          1.5880426389276328,
                                          decimal=6)
 def test_utwyDs(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_array_almost_equal(cache.utwyDs[0][0], 5.475255215067957, decimal=6)
Esempio n. 5
0
 def test_t(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.t, 22.751186696900984, RTOL)
 def test_j(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_array_almost_equal(cache.j[0][0], 0.62330311259039439, decimal=6)
 def test_trA(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_array_almost_equal(cache.trA, 1.5880426389276328, decimal=6)
Esempio n. 8
0
 def test_t(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.t, 22.751186696900984, RTOL)
Esempio n. 9
0
 def test_trA(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.trA, 1.5880426389276328, RTOL)
Esempio n. 10
0
 def test_wu(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.wu[0][0], -10.681344941514411, RTOL)
Esempio n. 11
0
 def test_j(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.j[0][0], 0.62330311259039439, RTOL)
Esempio n. 12
0
 def test_utwyDs(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.utwyDs[0][0], 5.475255215067957, RTOL)
Esempio n. 13
0
 def test_utwuDs(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.utwuDs[0][0], 8.3941977502916068,
                                RTOL)
Esempio n. 14
0
 def test_trA(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.trA, 1.5880426389276328, RTOL)
Esempio n. 15
0
 def test_utwyDs(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_array_almost_equal(cache.utwyDs[0][0],
                                          5.475255215067957,
                                          decimal=6)
Esempio n. 16
0
 def test_utwuDs(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.utwuDs[0][0], 8.3941977502916068, RTOL)
Esempio n. 17
0
 def test_wu(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_array_almost_equal(cache.wu[0][0],
                                          -10.681344941514411,
                                          decimal=6)
Esempio n. 18
0
 def test_utwyDs(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.utwyDs[0][0], 5.475255215067957, RTOL)
 def test_t(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_array_almost_equal(cache.t, 22.751186696900984, decimal=6)
Esempio n. 20
0
 def test_wu(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.wu[0][0], -10.681344941514411, RTOL)
 def test_utwuDs(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_array_almost_equal(cache.utwuDs[0][0], 8.3941977502916068, decimal=6)
Esempio n. 22
0
 def test_j(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_array_almost_equal(cache.j[0][0],
                                          0.62330311259039439,
                                          decimal=6)
 def test_wu(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_array_almost_equal(cache.wu[0][0], -10.681344941514411, decimal=6)
Esempio n. 24
0
 def test_j(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.j[0][0], 0.62330311259039439, RTOL)