コード例 #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
ファイル: test_diagnostics_sp.py プロジェクト: CartoDB/pysal
 def test_t(self):
     cache = spDcache(self.ols, self.w)
     np.testing.assert_allclose(cache.t, 22.751186696900984, RTOL)
コード例 #9
0
ファイル: test_diagnostics_sp.py プロジェクト: CartoDB/pysal
 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
ファイル: test_diagnostics_sp.py プロジェクト: CartoDB/pysal
 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
ファイル: test_diagnostics_sp.py プロジェクト: CartoDB/pysal
 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
ファイル: test_diagnostics_sp.py プロジェクト: CartoDB/pysal
 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
ファイル: test_diagnostics_sp.py プロジェクト: CartoDB/pysal
 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)