예제 #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)
예제 #2
0
 def test_t(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_array_almost_equal(cache.t,
                                          22.751186696900984,
                                          decimal=6)
예제 #3
0
 def test_trA(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_array_almost_equal(cache.trA,
                                          1.5880426389276328,
                                          decimal=6)
예제 #4
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)
예제 #5
0
 def test_t(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.t, 22.751186696900984, RTOL)
예제 #6
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)
예제 #7
0
 def test_trA(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_array_almost_equal(cache.trA, 1.5880426389276328, decimal=6)
예제 #8
0
 def test_t(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.t, 22.751186696900984, RTOL)
예제 #9
0
 def test_trA(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.trA, 1.5880426389276328, RTOL)
예제 #10
0
 def test_wu(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.wu[0][0], -10.681344941514411, RTOL)
예제 #11
0
 def test_j(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.j[0][0], 0.62330311259039439, RTOL)
예제 #12
0
 def test_utwyDs(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.utwyDs[0][0], 5.475255215067957, RTOL)
예제 #13
0
 def test_utwuDs(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.utwuDs[0][0], 8.3941977502916068,
                                RTOL)
예제 #14
0
 def test_trA(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.trA, 1.5880426389276328, RTOL)
예제 #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)
예제 #16
0
 def test_utwuDs(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.utwuDs[0][0], 8.3941977502916068, RTOL)
예제 #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)
예제 #18
0
 def test_utwyDs(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.utwyDs[0][0], 5.475255215067957, RTOL)
예제 #19
0
 def test_t(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_array_almost_equal(cache.t, 22.751186696900984, decimal=6)
예제 #20
0
 def test_wu(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.wu[0][0], -10.681344941514411, RTOL)
예제 #21
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)
예제 #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)
예제 #23
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)
예제 #24
0
 def test_j(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.j[0][0], 0.62330311259039439, RTOL)