def test_log_likelihood(self): obs = diagnostics.log_likelihood(reg) exp = -187.3772388121491 self.assertAlmostEquals(obs,exp)
def test_log_likelihood(self): obs = diagnostics.log_likelihood(reg) exp = -187.3772388121491 np.testing.assert_allclose(obs, exp, RTOL)
def test_log_likelihood(self): obs = diagnostics.log_likelihood(reg) exp = -187.3772388121491 self.assertAlmostEquals(obs, exp)
def test_log_likelihood(self): obs = diagnostics.log_likelihood(reg) exp = -187.3772388121491 np.testing.assert_allclose(obs,exp, RTOL)