示例#1
0
 def test_log_likelihood(self):
     obs = diagnostics.log_likelihood(reg)
     exp = -187.3772388121491
     self.assertAlmostEquals(obs,exp)
示例#2
0
 def test_log_likelihood(self):
     obs = diagnostics.log_likelihood(reg)
     exp = -187.3772388121491
     np.testing.assert_allclose(obs, exp, RTOL)
示例#3
0
 def test_log_likelihood(self):
     obs = diagnostics.log_likelihood(reg)
     exp = -187.3772388121491
     self.assertAlmostEquals(obs, exp)
示例#4
0
 def test_log_likelihood(self):
     obs = diagnostics.log_likelihood(reg)
     exp = -187.3772388121491
     np.testing.assert_allclose(obs,exp, RTOL)