コード例 #1
0
 def test_wls_1d(self):
     z = IRWLS.wls(self.x, self.y, self.w)
     assert_array_almost_equal(z[0], 1)
コード例 #2
0
ファイル: test_irwls.py プロジェクト: Chris1221/ldsc
 def test_wls_1d(self):
     z = IRWLS.wls(self.x, self.y, self.w)
     assert_array_almost_equal(z[0], 1)
コード例 #3
0
 def test_wls_2d(self):
     z = IRWLS.wls(self.x, self.y, self.w)
     assert_array_almost_equal(z[0], np.ones((2, 1)))
コード例 #4
0
ファイル: test_irwls.py プロジェクト: Chris1221/ldsc
 def test_wls_2d(self):
     z = IRWLS.wls(self.x, self.y, self.w)
     assert_array_almost_equal(z[0], np.ones((2, 1)))