예제 #1
0
 def test_condition_index(self):
     obs = diagnostics.condition_index(reg)
     exp = 6.541827751444
     self.assertAlmostEquals(obs,exp)
예제 #2
0
 def test_condition_index(self):
     obs = diagnostics.condition_index(reg)
     exp = 6.541827751444
     np.testing.assert_allclose(obs, exp, RTOL)
예제 #3
0
 def test_condition_index(self):
     obs = diagnostics.condition_index(reg)
     exp = 6.541827751444
     self.assertAlmostEquals(obs, exp)
예제 #4
0
 def test_condition_index(self):
     obs = diagnostics.condition_index(reg)
     exp = 6.541827751444
     np.testing.assert_allclose(obs,exp, RTOL)