def test_r2(self): obs = diagnostics.r2(reg) exp = 0.55240404083742334 self.assertAlmostEquals(obs,exp)
def test_r2(self): obs = diagnostics.r2(reg) exp = 0.55240404083742334 np.testing.assert_allclose(obs, exp, RTOL)
def test_r2(self): obs = diagnostics.r2(reg) exp = 0.55240404083742334 self.assertAlmostEquals(obs, exp)
def test_r2(self): obs = diagnostics.r2(reg) exp = 0.55240404083742334 np.testing.assert_allclose(obs,exp, RTOL)