예제 #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)